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

galago-commits at freedesktop.org galago-commits at freedesktop.org
Tue Sep 26 14:16:46 PDT 2006


Author: chipx86
Date: 2006-09-26 14:16:43 -0700 (Tue, 26 Sep 2006)
New Revision: 2904

Modified:
   trunk/libgalago/ChangeLog
   trunk/libgalago/libgalago/galago-core.c
Log:
Patch by Ross Burton to make us match only on the D-BUS signals we care about, so that we wake up less often.


Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog	2006-09-26 21:10:14 UTC (rev 2903)
+++ trunk/libgalago/ChangeLog	2006-09-26 21:16:43 UTC (rev 2904)
@@ -1,3 +1,9 @@
+Tue Sep 26 14:16:01 PDT 2006  Christian Hammond <chipx86 at chipx86.com>
+
+	* libgalago/galago-core.c:
+	  - Patch by Ross Burton to make us match only on the D-BUS signals we
+	    care about, so that we wake up less often.
+
 Tue Jul 25 17:39:01 BST 2006  Iain Holmes <iain at openedhand.com>
 
 	* libgalago/galago-status.h:

Modified: trunk/libgalago/libgalago/galago-core.c
===================================================================
--- trunk/libgalago/libgalago/galago-core.c	2006-09-26 21:10:14 UTC (rev 2903)
+++ trunk/libgalago/libgalago/galago-core.c	2006-09-26 21:16:43 UTC (rev 2904)
@@ -783,8 +783,10 @@
 
 	dbus_bus_add_match(_core->priv->dbus_conn,
 					   "type='signal',"
+					   "sender='" DBUS_SERVICE_DBUS "',"
 					   "interface='" DBUS_INTERFACE_DBUS "',"
-					   "sender='" DBUS_SERVICE_DBUS "'",
+					   "member='NameOwnerChanged',"
+					   "arg0='" GALAGO_DBUS_SERVICE "'",
 					   &error);
 
 	if (dbus_error_is_set(&error))



More information about the galago-commits mailing list