aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/emacs.c2
-rw-r--r--src/xterm.c12
3 files changed, 16 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b9cfcabde29..493a7f61d42 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,15 @@
12001-10-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 12001-10-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 2
3 * lisp.h (init_window): Add prototype.
4
5 * editfns.c: Include ctype.h.
6
7 * xterm.c: USE_LUCID can be defined iff USE_X_TOOLKIT is defined.
8 (xm_scroll_callback) [USE_MOTIF]: Remove unused variable
9 `percent'.
10 (x_set_toolkit_scroll_bar_thumb) [USE_MOTIF]: Remove unused
11 variable `sb'.
12
3 * xfns.c (Fx_hide_tip): Fix typo in a doc string. 13 * xfns.c (Fx_hide_tip): Fix typo in a doc string.
4 (Fx_file_dialog) [USE_MOTIF]: Remove unused variables 14 (Fx_file_dialog) [USE_MOTIF]: Remove unused variables
5 `popup_activated_flag' and `title'. 15 `popup_activated_flag' and `title'.
diff --git a/src/emacs.c b/src/emacs.c
index 7ac6c31be01..ab9521cc4c7 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1159,7 +1159,7 @@ main (argc, argv, envp)
1159 init_eval (); 1159 init_eval ();
1160 init_data (); 1160 init_data ();
1161#ifdef CLASH_DETECTION 1161#ifdef CLASH_DETECTION
1162 init_filelock ();; 1162 init_filelock ();
1163#endif 1163#endif
1164 init_atimer (); 1164 init_atimer ();
1165 running_asynch_code = 0; 1165 running_asynch_code = 0;
diff --git a/src/xterm.c b/src/xterm.c
index b48b5187062..702a1fd4c3a 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8252,7 +8252,7 @@ x_window_to_scroll_bar (window_id)
8252} 8252}
8253 8253
8254 8254
8255#if defined USE_X_TOOLKIT && defined USE_LUCID 8255#if defined USE_LUCID
8256 8256
8257/* Return the Lucid menu bar WINDOW is part of. Return null 8257/* Return the Lucid menu bar WINDOW is part of. Return null
8258 if WINDOW is not part of a menu bar. */ 8258 if WINDOW is not part of a menu bar. */
@@ -8277,7 +8277,7 @@ x_window_to_menu_bar (window)
8277 return NULL; 8277 return NULL;
8278} 8278}
8279 8279
8280#endif /* USE_X_TOOLKIT && USE_LUCID */ 8280#endif /* USE_LUCID */
8281 8281
8282 8282
8283/************************************************************************ 8283/************************************************************************
@@ -8484,7 +8484,6 @@ xm_scroll_callback (widget, client_data, call_data)
8484{ 8484{
8485 struct scroll_bar *bar = (struct scroll_bar *) client_data; 8485 struct scroll_bar *bar = (struct scroll_bar *) client_data;
8486 XmScrollBarCallbackStruct *cs = (XmScrollBarCallbackStruct *) call_data; 8486 XmScrollBarCallbackStruct *cs = (XmScrollBarCallbackStruct *) call_data;
8487 double percent;
8488 int part = -1, whole = 0, portion = 0; 8487 int part = -1, whole = 0, portion = 0;
8489 8488
8490 switch (cs->reason) 8489 switch (cs->reason)
@@ -8870,7 +8869,6 @@ x_set_toolkit_scroll_bar_thumb (bar, portion, position, whole)
8870#ifdef USE_MOTIF 8869#ifdef USE_MOTIF
8871 { 8870 {
8872 int size, value; 8871 int size, value;
8873 XmScrollBarWidget sb;
8874 8872
8875 /* Slider size. Must be in the range [1 .. MAX - MIN] where MAX 8873 /* Slider size. Must be in the range [1 .. MAX - MIN] where MAX
8876 is the scroll bar's maximum and MIN is the scroll bar's minimum 8874 is the scroll bar's maximum and MIN is the scroll bar's minimum
@@ -10293,7 +10291,7 @@ XTread_socket (sd, bufp, numchars, expected)
10293#ifndef USE_TOOLKIT_SCROLL_BARS 10291#ifndef USE_TOOLKIT_SCROLL_BARS
10294 struct scroll_bar *bar; 10292 struct scroll_bar *bar;
10295#endif 10293#endif
10296#if defined USE_X_TOOLKIT && defined USE_LUCID 10294#if defined USE_LUCID
10297 /* Submenus of the Lucid menu bar aren't widgets 10295 /* Submenus of the Lucid menu bar aren't widgets
10298 themselves, so there's no way to dispatch events 10296 themselves, so there's no way to dispatch events
10299 to them. Recognize this case separately. */ 10297 to them. Recognize this case separately. */
@@ -10303,8 +10301,8 @@ XTread_socket (sd, bufp, numchars, expected)
10303 if (widget) 10301 if (widget)
10304 xlwmenu_redisplay (widget); 10302 xlwmenu_redisplay (widget);
10305 } 10303 }
10306#endif /* USE_X_TOOLKIT && USE_LUCID */ 10304#endif /* USE_LUCID */
10307 10305
10308#ifdef USE_TOOLKIT_SCROLL_BARS 10306#ifdef USE_TOOLKIT_SCROLL_BARS
10309 /* Dispatch event to the widget. */ 10307 /* Dispatch event to the widget. */
10310 goto OTHER; 10308 goto OTHER;