From aa4ac49462e4187df9324464ff4d7c48ba1ccb3c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 15 Jun 2003 20:56:40 +0000 Subject: [PATCH] (xg_tool_bar_callback): Don't pass uninitialized data to kbd_buffer_store_event. --- src/gtkutil.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2