[evolution-patches] gal fix for #42608



couple of one liners.

Chris
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/ChangeLog,v
retrieving revision 1.770
diff -u -r1.770 ChangeLog
--- ChangeLog	8 May 2003 14:58:56 -0000	1.770
+++ ChangeLog	12 May 2003 10:16:38 -0000
@@ -1,3 +1,12 @@
+2003-05-12  Chris Toshok  <toshok ximian com>
+
+	[ fixes #42608 ]
+	* gal/widgets/e-categories.c (e_categories_button_clicked): don't
+	ref the master_list_dialog here.
+
+	* gal/widgets/e-categories-master-list-dialog.c
+	(dialog_destroyed): use gtk_object_destroy here.
+
 2003-05-08  Radek Doulik  <rodo ximian com>
 
 	* gal/util/e-util.c (e_gettext): use E_I18N_DOMAIN
Index: gal/widgets/e-categories.c
===================================================================
RCS file: /cvs/gnome/gal/gal/widgets/e-categories.c,v
retrieving revision 1.30
diff -u -r1.30 e-categories.c
--- gal/widgets/e-categories.c	29 Apr 2003 21:31:12 -0000	1.30
+++ gal/widgets/e-categories.c	12 May 2003 10:16:39 -0000
@@ -270,7 +270,6 @@
 		categories->priv->ecmld = e_categories_master_list_dialog_new (categories->priv->ecml);
 		g_object_weak_ref (G_OBJECT (categories->priv->ecmld),
 				   ecmld_destroyed, categories);
-		g_object_ref (categories->priv->ecmld);
 	}
 }
 
Index: gal/widgets/e-categories-master-list-dialog.c
===================================================================
RCS file: /cvs/gnome/gal/gal/widgets/e-categories-master-list-dialog.c,v
retrieving revision 1.13
diff -u -r1.13 e-categories-master-list-dialog.c
--- gal/widgets/e-categories-master-list-dialog.c	26 Feb 2003 23:00:42 -0000	1.13
+++ gal/widgets/e-categories-master-list-dialog.c	12 May 2003 10:16:39 -0000
@@ -152,7 +152,7 @@
 dialog_destroyed (gpointer data, GObject *where_object_was)
 {
 	ECategoriesMasterListDialog *ecmld = data;
-	g_object_unref (ecmld);
+	gtk_object_destroy (ecmld);
 }
 
 static void


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