summaryrefslogtreecommitdiff
path: root/src/xsettings.c
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/xsettings.c
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/xsettings.c')
-rw-r--r--src/xsettings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsettings.c b/src/xsettings.c
index 770cd8e4a56..bdf9f2876be 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -754,7 +754,7 @@ read_and_apply_settings (struct x_display_info *dpyinfo, int send_event_p)
/* Check if EVENT for the display in DPYINFO is XSettings related. */
void
-xft_settings_event (struct x_display_info *dpyinfo, const XEvent * const event)
+xft_settings_event (struct x_display_info *dpyinfo, const XEvent *event)
{
bool check_window_p = 0, apply_settings_p = 0;