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/buffer.c | |
| 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/buffer.c')
0 files changed, 0 insertions, 0 deletions