[evolution-patches] 41456: crash on startup



This reverts a line of yesterday's shortcut-bar patch that was causing a
crash on startup.

Mike
Index: gal/shortcut-bar/ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/gal/shortcut-bar/ChangeLog,v
retrieving revision 1.68
diff -u -p -w -r1.68 ChangeLog
--- gal/shortcut-bar/ChangeLog	15 Apr 2003 16:36:57 -0000	1.68
+++ gal/shortcut-bar/ChangeLog	16 Apr 2003 18:41:23 -0000
@@ -1,3 +1,9 @@
+2003-04-16  Mike Kestner  <mkestner ximian com>
+
+	* e-icon-bar.c (e_i_b_add_item): get the style from the widget.
+	this reverts a part of yesterday's patch that was causing an
+	uninitialized data crash.
+
 2003-04-15  Mike Kestner  <mkestner ximian com>
 
 	* e-icon-bar.c (e_i_b_recalc_item_positions): s/GdkFont/PangoFont
Index: gal/shortcut-bar/e-icon-bar.c
===================================================================
RCS file: /cvs/gnome/gal/gal/shortcut-bar/e-icon-bar.c,v
retrieving revision 1.42
diff -u -p -w -r1.42 e-icon-bar.c
--- gal/shortcut-bar/e-icon-bar.c	15 Apr 2003 16:36:57 -0000	1.42
+++ gal/shortcut-bar/e-icon-bar.c	16 Apr 2003 18:41:24 -0000
@@ -642,6 +642,7 @@ e_icon_bar_add_item (EIconBar	    *icon_
 	}
 
 	gtk_widget_ensure_style (GTK_WIDGET (icon_bar));
+	style = GTK_WIDGET (icon_bar)->style;
 	
 	context = gtk_widget_get_pango_context (GTK_WIDGET (icon_bar));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]