[evolution-patches] 66520, contacts crash deleting addressbooks




this should fix it, the window's getting 'double-destroyed', I guess.

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer
Index: addressbook/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1822.2.6
diff -u -3 -r1.1822.2.6 ChangeLog
--- addressbook/ChangeLog	23 Sep 2004 20:31:20 -0000	1.1822.2.6
+++ addressbook/ChangeLog	28 Sep 2004 07:43:06 -0000
@@ -1,3 +1,11 @@
+2004-09-28  Not Zed  <NotZed Ximian com>
+
+	** See bug #66520.
+
+	* gui/widgets/e-addressbook-view.c (eab_view_dispose): don't unref
+	the contact_display_window, it will be destroyed by being
+	parented.
+
 2004-09-23  Fazlu & Hannah <hannah_lins yahoo co in>
 
 	Fixes bug #61070
Index: addressbook/gui/widgets/e-addressbook-view.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-addressbook-view.c,v
retrieving revision 1.146.4.1
diff -u -3 -r1.146.4.1 e-addressbook-view.c
--- addressbook/gui/widgets/e-addressbook-view.c	16 Sep 2004 14:45:53 -0000	1.146.4.1
+++ addressbook/gui/widgets/e-addressbook-view.c	28 Sep 2004 07:43:08 -0000
@@ -361,11 +361,6 @@
 		eav->clipboard_contacts = NULL;
 	}
 
-	if (eav->contact_display_window) {
-		g_object_unref (eav->contact_display_window);
-		eav->contact_display_window = NULL;
-	}
-		
 	if (eav->invisible) {
 		gtk_widget_destroy (eav->invisible);
 		eav->invisible = NULL;


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