Commit a11e1dce authored by Jan Djärv's avatar Jan Djärv
Browse files

* xterm.c (x_window_to_scroll_bar): Only call

xg_get_scroll_id_for_window if toolkit scroll bars are used.
parent 8cfd0f36
2004-11-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xterm.c (x_window_to_scroll_bar): Only call
xg_get_scroll_id_for_window if toolkit scroll bars are used.
* gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead
of save.
......
......@@ -3924,9 +3924,9 @@ x_window_to_scroll_bar (display, window_id)
{
Lisp_Object tail;
#ifdef USE_GTK
#if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS)
window_id = (Window) xg_get_scroll_id_for_window (display, window_id);
#endif /* USE_GTK */
#endif /* USE_GTK && USE_TOOLKIT_SCROLL_BARS */
for (tail = Vframe_list;
XGCTYPE (tail) == Lisp_Cons;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment