diff options
Diffstat (limited to 'src/gtkutil.h')
| -rw-r--r-- | src/gtkutil.h | 13 |
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 | ||
| 3 | Copyright (C) 2003-2011 Free Software Foundation, Inc. | 3 | Copyright (C) 2003-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This 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 | ||
| 103 | extern void xg_modify_menubar_widgets (GtkWidget *menubar, | 103 | extern 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 | ||
| 111 | extern int xg_update_frame_menubar (FRAME_PTR f); | 111 | extern 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 | ||
| 115 | extern int xg_have_tear_offs (void); | 115 | extern int xg_have_tear_offs (void); |
| 116 | 116 | ||
| 117 | extern int xg_get_scroll_id_for_window (Display *dpy, Window wid); | 117 | extern ptrdiff_t xg_get_scroll_id_for_window (Display *dpy, Window wid); |
| 118 | 118 | ||
| 119 | extern void xg_create_scroll_bar (FRAME_PTR f, | 119 | extern 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); |
| 124 | extern void xg_remove_scroll_bar (FRAME_PTR f, int scrollbar_id); | 124 | extern void xg_remove_scroll_bar (FRAME_PTR f, ptrdiff_t scrollbar_id); |
| 125 | 125 | ||
| 126 | extern void xg_update_scrollbar_pos (FRAME_PTR f, | 126 | extern 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 | |||