[Galago-commits] r2588 - in trunk/libgalago: . libgalago

galago-commits at freedesktop.org galago-commits at freedesktop.org
Wed Feb 22 06:33:38 PST 2006


Author: chipx86
Date: 2006-02-22 06:33:36 -0800 (Wed, 22 Feb 2006)
New Revision: 2588

Modified:
   trunk/libgalago/ChangeLog
   trunk/libgalago/libgalago/galago-service.c
Log:
Patch by Ross Burton to fix a crash when sending the RemoveAccount message to the daemon after a feed unrefs the account object being sent.


Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog	2006-02-17 10:59:18 UTC (rev 2587)
+++ trunk/libgalago/ChangeLog	2006-02-22 14:33:36 UTC (rev 2588)
@@ -1,3 +1,10 @@
+Wed Feb 22 01:52:20 PST 2006  Christian Hammond <chipx86 at chipx86.com>
+
+	* libgalago/galago-service.c:
+	  - Patch by Ross Burton to fix a crash when sending the
+	    RemoveAccount message to the daemon after a feed unrefs the
+	    account object being sent.
+
 Fri Feb 17 00:38:15 PST 2006  Christian Hammond <chipx86 at chipx86.com>
 
 	* libgalago/galago-account.c:

Modified: trunk/libgalago/libgalago/galago-service.c
===================================================================
--- trunk/libgalago/libgalago/galago-service.c	2006-02-17 10:59:18 UTC (rev 2587)
+++ trunk/libgalago/libgalago/galago-service.c	2006-02-22 14:33:36 UTC (rev 2588)
@@ -595,8 +595,7 @@
 		galago_is_feed())
 	{
 		galago_dbus_send_message(GALAGO_OBJECT(service), "RemoveAccount",
-			galago_value_new(GALAGO_VALUE_TYPE_OBJECT, &account,
-							 (void *)GALAGO_TYPE_ACCOUNT),
+			galago_value_new_object(GALAGO_TYPE_ACCOUNT, G_OBJECT(account)),
 			NULL);
 	}
 



More information about the galago-commits mailing list