changeset 83815:33f2ff3dc08b

(update_frame_tool_bar): Initialize wbutton to NULL.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 31 Aug 2007 10:17:02 +0000
parents 51157ba88510
children 5c99c1cc7ce2
files src/gtkutil.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutil.c	Fri Aug 31 10:13:35 2007 +0000
+++ b/src/gtkutil.c	Fri Aug 31 10:17:02 2007 +0000
@@ -3810,7 +3810,7 @@
       GtkStockItem stock_item;
       char *stock_name = NULL;
       Lisp_Object rtl;
-      GtkWidget *wbutton;
+      GtkWidget *wbutton = NULL;
       GtkWidget *weventbox;
       Lisp_Object func = intern ("x-gtk-map-stock");