diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xterm.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 153c871d917..b7ae4e8148f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2004-11-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 1 | 2004-11-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 2 | 2 | ||
| 3 | * xterm.c (x_window_to_scroll_bar): Only call | ||
| 4 | xg_get_scroll_id_for_window if toolkit scroll bars are used. | ||
| 5 | |||
| 3 | * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead | 6 | * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead |
| 4 | of save. | 7 | of save. |
| 5 | 8 | ||
diff --git a/src/xterm.c b/src/xterm.c index 54ee4014e8c..df99a8667f8 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3924,9 +3924,9 @@ x_window_to_scroll_bar (display, window_id) | |||
| 3924 | { | 3924 | { |
| 3925 | Lisp_Object tail; | 3925 | Lisp_Object tail; |
| 3926 | 3926 | ||
| 3927 | #ifdef USE_GTK | 3927 | #if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS) |
| 3928 | window_id = (Window) xg_get_scroll_id_for_window (display, window_id); | 3928 | window_id = (Window) xg_get_scroll_id_for_window (display, window_id); |
| 3929 | #endif /* USE_GTK */ | 3929 | #endif /* USE_GTK && USE_TOOLKIT_SCROLL_BARS */ |
| 3930 | 3930 | ||
| 3931 | for (tail = Vframe_list; | 3931 | for (tail = Vframe_list; |
| 3932 | XGCTYPE (tail) == Lisp_Cons; | 3932 | XGCTYPE (tail) == Lisp_Cons; |