aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtkutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r--src/gtkutil.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h
index 769e56da917..2c6ca066719 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -1,6 +1,6 @@
1/* Definitions and headers for GTK widgets. 1/* Definitions and headers for GTK widgets.
2 2
3Copyright (C) 2003-2011 Free Software Foundation, Inc. 3Copyright (C) 2003-2012 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -98,7 +98,7 @@ extern GtkWidget *xg_create_widget (const char *type,
98 struct _widget_value *val, 98 struct _widget_value *val,
99 GCallback select_cb, 99 GCallback select_cb,
100 GCallback deactivate_cb, 100 GCallback deactivate_cb,
101 GCallback hightlight_cb); 101 GCallback highlight_cb);
102 102
103extern void xg_modify_menubar_widgets (GtkWidget *menubar, 103extern void xg_modify_menubar_widgets (GtkWidget *menubar,
104 FRAME_PTR f, 104 FRAME_PTR f,
@@ -106,7 +106,7 @@ extern void xg_modify_menubar_widgets (GtkWidget *menubar,
106 int deep_p, 106 int deep_p,
107 GCallback select_cb, 107 GCallback select_cb,
108 GCallback deactivate_cb, 108 GCallback deactivate_cb,
109 GCallback hightlight_cb); 109 GCallback highlight_cb);
110 110
111extern int xg_update_frame_menubar (FRAME_PTR f); 111extern int xg_update_frame_menubar (FRAME_PTR f);
112 112
@@ -114,17 +114,17 @@ extern int xg_event_is_for_menubar (FRAME_PTR f, XEvent *event);
114 114
115extern int xg_have_tear_offs (void); 115extern int xg_have_tear_offs (void);
116 116
117extern int xg_get_scroll_id_for_window (Display *dpy, Window wid); 117extern ptrdiff_t xg_get_scroll_id_for_window (Display *dpy, Window wid);
118 118
119extern void xg_create_scroll_bar (FRAME_PTR f, 119extern void xg_create_scroll_bar (FRAME_PTR f,
120 struct scroll_bar *bar, 120 struct scroll_bar *bar,
121 GCallback scroll_callback, 121 GCallback scroll_callback,
122 GCallback end_callback, 122 GCallback end_callback,
123 const char *scroll_bar_name); 123 const char *scroll_bar_name);
124extern void xg_remove_scroll_bar (FRAME_PTR f, int scrollbar_id); 124extern void xg_remove_scroll_bar (FRAME_PTR f, ptrdiff_t scrollbar_id);
125 125
126extern void xg_update_scrollbar_pos (FRAME_PTR f, 126extern void xg_update_scrollbar_pos (FRAME_PTR f,
127 int scrollbar_id, 127 ptrdiff_t scrollbar_id,
128 int top, 128 int top,
129 int left, 129 int left,
130 int width, 130 int width,
@@ -185,4 +185,3 @@ extern int xg_ignore_gtk_scrollbar;
185 185
186#endif /* USE_GTK */ 186#endif /* USE_GTK */
187#endif /* GTKUTIL_H */ 187#endif /* GTKUTIL_H */
188