From: Stefan Monnier Date: Sun, 15 Jun 2003 20:56:40 +0000 (+0000) Subject: (xg_tool_bar_callback): Don't pass uninitialized X-Git-Tag: ttn-vms-21-2-B4~9652 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa4ac49462e4187df9324464ff4d7c48ba1ccb3c;p=emacs.git (xg_tool_bar_callback): Don't pass uninitialized data to kbd_buffer_store_event. --- diff --git a/src/gtkutil.c b/src/gtkutil.c index 6ad7bc24246..4d31233cbd0 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -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;