[Galago-commits] r2359 - in trunk/libgalago: . docs/protocol libgalago

galago-commits at freedesktop.org galago-commits at freedesktop.org
Sat Dec 3 01:33:41 PST 2005


Author: chipx86
Date: 2005-12-03 01:33:35 -0800 (Sat, 03 Dec 2005)
New Revision: 2359

Modified:
   trunk/libgalago/ChangeLog
   trunk/libgalago/docs/protocol/protocol.hh
   trunk/libgalago/libgalago/galago-presence.c
Log:
Don't try to set the idle start time as a ULONG. It gets translated to a UINT32 anyway, but this is still more correct.


Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog	2005-12-03 09:20:15 UTC (rev 2358)
+++ trunk/libgalago/ChangeLog	2005-12-03 09:33:35 UTC (rev 2359)
@@ -1,3 +1,10 @@
+Sat Dec 03 01:32:17 PST 2005  Christian Hammond <chipx86 at chipx86.com>
+
+	* docs/protocol/protocol.hh:
+	* libgalago/galago-presence.c:
+	  - Don't try to set the idle start time as a ULONG. It gets translated
+	    to a UINT32 anyway, but this is still more correct.
+
 Sat Dec 03 01:19:48 PST 2005  Christian Hammond <chipx86 at chipx86.com>
 
 	* Makefile.am:

Modified: trunk/libgalago/docs/protocol/protocol.hh
===================================================================
--- trunk/libgalago/docs/protocol/protocol.hh	2005-12-03 09:20:15 UTC (rev 2358)
+++ trunk/libgalago/docs/protocol/protocol.hh	2005-12-03 09:33:35 UTC (rev 2359)
@@ -551,7 +551,7 @@
 	 * @param idleStartTime The time the idle state was set. This is only
 	 *                      used if @a idle is true.
 	 */
-	void SetIdle(bool idle, ulong idleStartTime);
+	void SetIdle(bool idle, uint32 idleStartTime);
 
 	/*@}*/
 
@@ -563,8 +563,6 @@
 	/**
 	 * Emitted when the presence's idle state is updated.
 	 *
-	 * @todo Change the uint32 to a ulong.
-	 *
 	 * @param idle          true if the user is idle, or false.
 	 * @param idleStartTime The time that the idle state was set.
 	 */

Modified: trunk/libgalago/libgalago/galago-presence.c
===================================================================
--- trunk/libgalago/libgalago/galago-presence.c	2005-12-03 09:20:15 UTC (rev 2358)
+++ trunk/libgalago/libgalago/galago-presence.c	2005-12-03 09:33:35 UTC (rev 2359)
@@ -330,7 +330,7 @@
 	{
 		galago_dbus_send_message(GALAGO_OBJECT(presence), "SetIdle",
 			galago_value_new(GALAGO_VALUE_TYPE_BOOLEAN, &idle, NULL),
-			galago_value_new(GALAGO_VALUE_TYPE_ULONG, &idle_start_time, NULL),
+			galago_value_new(GALAGO_VALUE_TYPE_UINT, &idle_start_time, NULL),
 			NULL);
 	}
 



More information about the galago-commits mailing list