[Galago-commits] r2399 - in trunk/libgalago: . libgalago
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Tue Jan 10 00:22:09 PST 2006
Author: chipx86
Date: 2006-01-10 00:22:07 -0800 (Tue, 10 Jan 2006)
New Revision: 2399
Modified:
trunk/libgalago/ChangeLog
trunk/libgalago/libgalago/galago-presence.c
Log:
Fix some idle reporting bugs.
Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog 2006-01-10 07:35:20 UTC (rev 2398)
+++ trunk/libgalago/ChangeLog 2006-01-10 08:22:07 UTC (rev 2399)
@@ -1,3 +1,8 @@
+Tue Jan 10 00:21:47 PST 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * libgalago/galago-presence.c:
+ - Fix some idle reporting bugs.
+
Mon Jan 09 23:27:45 PST 2006 Christian Hammond <chipx86 at chipx86.com>
* docs/protocol/protocol.hh:
Modified: trunk/libgalago/libgalago/galago-presence.c
===================================================================
--- trunk/libgalago/libgalago/galago-presence.c 2006-01-10 07:35:20 UTC (rev 2398)
+++ trunk/libgalago/libgalago/galago-presence.c 2006-01-10 08:22:07 UTC (rev 2399)
@@ -311,7 +311,8 @@
g_return_if_fail(presence != NULL);
g_return_if_fail(GALAGO_IS_PRESENCE(presence));
- g_return_if_fail(idle_start_time > 0);
+ g_message("idle = %d, start = %ld", idle, idle_start_time);
+ g_assert(!idle || idle_start_time > 0);
if (presence->priv->idle == idle &&
presence->priv->idle_start_time == idle_start_time)
@@ -330,7 +331,7 @@
{
galago_dbus_send_message(GALAGO_OBJECT(presence), "SetIdle",
galago_value_new(GALAGO_VALUE_TYPE_BOOLEAN, &idle, NULL),
- galago_value_new(GALAGO_VALUE_TYPE_UINT, &idle_start_time, NULL),
+ galago_value_new(GALAGO_VALUE_TYPE_ULONG, &idle_start_time, NULL),
NULL);
}
More information about the galago-commits
mailing list