summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorGary Wong <gtw@gnu.org>2009-09-01 22:35:00 -0600
committerGary Wong <gtw@gnu.org>2009-09-01 22:35:00 -0600
commit472c13261930f1a1803abd2aa24a137a66fc0a42 (patch)
tree73f84bfcaaa736f4687a90120111f2faab2ccf64 /menu.c
parent38546109c98e98b933a6e3a8e29572e29e16c1b1 (diff)
Declare read-only data structres as const.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 6b1e573..36d0613 100644
--- a/menu.c
+++ b/menu.c
@@ -249,7 +249,7 @@ extern void popup_menu( struct gwm_window *window, xcb_generic_event_t *ev,
pointer_demux = menu->w;
}
-event_handler menu_handlers[] = {
+const event_handler menu_handlers[] = {
NULL, /* Error */
NULL, /* Reply */
NULL, /* KeyPress */