diff options
| author | Paul Eggert | 2011-04-16 08:24:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-16 08:24:20 -0700 |
| commit | 098db9dd8b385f13ab74a37046a4cd98c8b314d6 (patch) | |
| tree | 0d0d70bc5b76f328d3b274d8df0205341e341f9b /src/ChangeLog | |
| parent | eb18f6cc6644a9e43204e5062f9fd45fdad8141f (diff) | |
| download | emacs-098db9dd8b385f13ab74a37046a4cd98c8b314d6.tar.gz emacs-098db9dd8b385f13ab74a37046a4cd98c8b314d6.zip | |
* xterm.c: Fix problems found by static analysis with other toolkits.
(toolkit_scroll_bar_interaction): Define and use only if USE_X_TOOLKIT.
(x_dispatch_event): Declare static only if !USE_GTK && USE_X_TOOLKIT.
Define if USE_GTK || (HAVE_MENUS && USE_X_TOOLKIT); USE_MOTIF need
not be part of this test.
(SET_SAVED_BUTTON_EVENT): Define only if USE_X_TOOLKIT || USE_GTK.
* xterm.h (x_dispatch_event): Use USE_GTK, not USE_MOTIF, when testing
whether to declare.
* xterm.c, xterm.h (x_mouse_leave): Bring this function back, but only if
defined HAVE_MENUS && !defined USE_X_TOOLKIT && !defined USE_GTK.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8eedcae2d8b..c009a8fadee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xterm.c: Fix problems found by static analysis with other toolkits. | ||
| 4 | (toolkit_scroll_bar_interaction): Define and use only if USE_X_TOOLKIT. | ||
| 5 | (x_dispatch_event): Declare static only if !USE_GTK && USE_X_TOOLKIT. | ||
| 6 | Define if USE_GTK || (HAVE_MENUS && USE_X_TOOLKIT); USE_MOTIF need | ||
| 7 | not be part of this test. | ||
| 8 | (SET_SAVED_BUTTON_EVENT): Define only if USE_X_TOOLKIT || USE_GTK. | ||
| 9 | * xterm.h (x_dispatch_event): Use USE_GTK, not USE_MOTIF, when testing | ||
| 10 | whether to declare. | ||
| 11 | * xterm.c, xterm.h (x_mouse_leave): Bring this function back, but only if | ||
| 12 | defined HAVE_MENUS && !defined USE_X_TOOLKIT && !defined USE_GTK. | ||
| 13 | |||
| 3 | * xmenu.c (menu_help_callback): Pointer type fixes. | 14 | * xmenu.c (menu_help_callback): Pointer type fixes. |
| 4 | Use const pointers when pointing at readonly data. Avoid pointer | 15 | Use const pointers when pointing at readonly data. Avoid pointer |
| 5 | signedness clashes. | 16 | signedness clashes. |