changeset 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 5dc40bf1e32a
children 5bc2bb8c1fef
files src/gtkutil.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;