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

galago-commits at freedesktop.org galago-commits at freedesktop.org
Sun Nov 20 01:31:55 PST 2005


Author: chipx86
Date: 2005-11-20 01:31:04 -0800 (Sun, 20 Nov 2005)
New Revision: 2332

Modified:
   trunk/libgalago/ChangeLog
   trunk/libgalago/libgalago/galago-service.c
Log:
Retrieve the Service flags into an int, and then cast to GalagoServiceFlags to work around some weirdness that I've encountered in the past.


Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog	2005-11-20 09:21:47 UTC (rev 2331)
+++ trunk/libgalago/ChangeLog	2005-11-20 09:31:04 UTC (rev 2332)
@@ -1,3 +1,10 @@
+Sun Nov 20 01:30:24 PST 2005  Christian Hammond <chipx86 at chipx86.com>
+
+	* libgalago/galago-service.c:
+	  - Retrieve the Service flags into an int, and then cast to
+	    GalagoServiceFlags to work around some weirdness that I've
+	    encountered in the past.
+
 Sun Nov 20 01:21:00 PST 2005  Christian Hammond <chipx86 at chipx86.com>
 
 	* libgalago/galago-person.c:

Modified: trunk/libgalago/libgalago/galago-service.c
===================================================================
--- trunk/libgalago/libgalago/galago-service.c	2005-11-20 09:21:47 UTC (rev 2331)
+++ trunk/libgalago/libgalago/galago-service.c	2005-11-20 09:31:04 UTC (rev 2332)
@@ -207,7 +207,7 @@
 {
 	GalagoService *service;
 	const char *obj_path, *id, *name;
-	GalagoServiceFlags flags;
+	int flags;
 
 	dbus_message_iter_get_basic(iter, &obj_path);
 	dbus_message_iter_next(iter);
@@ -221,7 +221,8 @@
 	dbus_message_iter_get_basic(iter, &flags);
 
 	service = _galago_create_service_common(id, name, GALAGO_REMOTE,
-											obj_path, flags);
+											obj_path,
+											(GalagoServiceFlags)flags);
 
 	return service;
 }



More information about the galago-commits mailing list