summaryrefslogtreecommitdiff
path: root/src/gtkutil.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-09-17 00:06:42 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-09-17 00:06:42 -0700
commitb7ad2f7401a22e6189d1b0a0523a3f98d1f70be5 (patch)
tree70c6aeab8f2284f02e7cfb2b26bf61471d936c3c /src/gtkutil.h
parent1893694e3e96560a1b750e257f774e23d3b06836 (diff)
downloademacs-b7ad2f7401a22e6189d1b0a0523a3f98d1f70be5.tar.gz
Don't overuse 'const' in types of locals.
* bidi.c (bidi_count_bytes): * gtkutil.c, gtkutil.h (xg_event_is_for_menubar) (xg_event_is_for_scrollbar): * xselect.c (x_handle_property_notify) (x_handle_selection_notify, x_handle_dnd_message): * xsettings.c, xsettings.h (xft_settings_event): * xterm.c (x_handle_net_wm_state, handle_one_event) (x_menubar_window_to_frame, x_detect_focus_change) (construct_mouse_click, note_mouse_movement) (x_scroll_bar_to_input_event, x_scroll_bar_expose) (x_scroll_bar_handle_click, x_scroll_bar_note_movement) (handle_one_xevent, x_handle_net_wm_state): * xterm.h (x_handle_property_notify, x_handle_selection_notify) (x_handle_dnd_message): Avoid unnecessary 'const', typically the second 'const' in 'const foo * const arg', a 'const' that does not affect the API and doesn't significantly help the human reader.
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r--src/gtkutil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h
index 57971cf4a38..1c26d2aa44b 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -105,7 +105,7 @@ extern void xg_modify_menubar_widgets (GtkWidget *menubar,
extern void xg_update_frame_menubar (struct frame *f);
-extern bool xg_event_is_for_menubar (struct frame *, const XEvent * const);
+extern bool xg_event_is_for_menubar (struct frame *, const XEvent *);
extern bool xg_have_tear_offs (void);
@@ -129,7 +129,7 @@ extern void xg_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar,
int portion,
int position,
int whole);
-extern bool xg_event_is_for_scrollbar (struct frame *, const XEvent * const);
+extern bool xg_event_is_for_scrollbar (struct frame *, const XEvent *);
extern int xg_get_default_scrollbar_width (void);
extern void update_frame_tool_bar (struct frame *f);