[Evolution-hackers] composer unref patch



when sending mail, looks like the composer was never finalised (just
destroyed).

should fix

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2749
diff -u -3 -r1.2749 ChangeLog
--- ChangeLog	12 Jun 2003 04:47:32 -0000	1.2749
+++ ChangeLog	16 Jun 2003 09:10:15 -0000
@@ -1,3 +1,13 @@
+2003-06-16  Not Zed  <NotZed Ximian com>
+
+	* mail-callbacks.c (composer_send_queued_cb): Unref the composer
+	to match the ref composer_send_cb();
+
+	** See bug #44519
+
+	* message-browser.c (message_browser_message_list_built): We want
+	to disconnect from the messagelist, not folderbrowser signal.
+
 2003-06-11  Jeffrey Stedfast  <fejj ximian com>
 
 	* mail-format.c (format_mime_part): We only really want to use
Index: mail-callbacks.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-callbacks.c,v
retrieving revision 1.445
diff -u -3 -r1.445 mail-callbacks.c
--- mail-callbacks.c	11 Jun 2003 16:19:34 -0000	1.445
+++ mail-callbacks.c	16 Jun 2003 09:10:16 -0000
@@ -364,7 +364,7 @@
 			g_free (ccd->uid);
 			ccd->uid = NULL;
 		}
-		
+
 		gtk_widget_destroy (GTK_WIDGET (send->composer));
 		
 		if (send->send && camel_session_is_online (session)) {
@@ -397,6 +397,7 @@
 	if (send->ccd)
 		ccd_unref (send->ccd);
 	
+	g_object_unref(send->composer);
 	g_free (send);
 }
 


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