(xg_tool_bar_callback): Don't pass uninitialized
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Jun 2003 20:56:40 +0000 (20:56 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Jun 2003 20:56:40 +0000 (20:56 +0000)
data to kbd_buffer_store_event.

src/gtkutil.c

index 6ad7bc2..4d31233 100644 (file)
@@ -2818,6 +2818,7 @@ xg_tool_bar_callback (w, client_data)
   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;