[Galago-commits] r2400 - in trunk/galago-daemon: . src

galago-commits at freedesktop.org galago-commits at freedesktop.org
Tue Jan 10 00:22:41 PST 2006


Author: chipx86
Date: 2006-01-10 00:22:39 -0800 (Tue, 10 Jan 2006)
New Revision: 2400

Modified:
   trunk/galago-daemon/ChangeLog
   trunk/galago-daemon/src/meta-presence.c
Log:
Fix the callback handler for idle changes so that we actually have the parameters in the right order.


Modified: trunk/galago-daemon/ChangeLog
===================================================================
--- trunk/galago-daemon/ChangeLog	2006-01-10 08:22:07 UTC (rev 2399)
+++ trunk/galago-daemon/ChangeLog	2006-01-10 08:22:39 UTC (rev 2400)
@@ -1,3 +1,9 @@
+Tue Jan 10 00:22:18 PST 2006  Christian Hammond <chipx86 at chipx86.com>
+
+	* src/meta-presence.c:
+	  - Fix the callback handler for idle changes so that we actually have
+	    the parameters in the right order.
+
 Mon Jan 09 23:30:05 PST 2006  Christian Hammond <chipx86 at chipx86.com>
 
 	* src/core.c:

Modified: trunk/galago-daemon/src/meta-presence.c
===================================================================
--- trunk/galago-daemon/src/meta-presence.c	2006-01-10 08:22:07 UTC (rev 2399)
+++ trunk/galago-daemon/src/meta-presence.c	2006-01-10 08:22:39 UTC (rev 2400)
@@ -24,7 +24,6 @@
 
 static void
 _galagod_dbus_presence_emit_idle_updated(GalagoPresence *presence,
-										 const char *unused,
 										 gboolean idle,
 										 dbus_uint32_t idle_start_time)
 {
@@ -42,6 +41,8 @@
 	dbus_message_iter_append_basic(&iter, DBUS_TYPE_BOOLEAN, &idle);
 	dbus_message_iter_append_basic(&iter, DBUS_TYPE_UINT32,  &idle_start_time);
 
+	g_message("Sending idle = %d, idle_start_time = %ld", idle, idle_start_time);
+
 	dbus_connection_send(galago_get_dbus_conn(), message, NULL);
 	dbus_message_unref(message);
 }



More information about the galago-commits mailing list