Mercurial > emacs
diff src/gtkutil.c @ 51569:e7bd8581e306
(xg_tool_bar_callback): Don't pass uninitialized
data to kbd_buffer_store_event.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 15 Jun 2003 20:56:40 +0000 |
parents | 6db55492aca9 |
children | c150d4a7aa36 |
line wrap: on
line diff
--- a/src/gtkutil.c Sun Jun 15 20:52:33 2003 +0000 +++ b/src/gtkutil.c Sun Jun 15 20:56:40 2003 +0000 @@ -2818,6 +2818,7 @@ FRAME_PTR f = (FRAME_PTR) g_object_get_data (G_OBJECT (w), XG_FRAME_DATA); Lisp_Object key, frame; struct input_event event; + EVENT_INIT (event); if (! f || ! f->n_tool_bar_items || NILP (f->tool_bar_items)) return;