[tracker/dbus-fd-experiment] Steroids client: Use gboolean instead char for bools



commit ebe055b6a1cdcb4dc9b8504090f223a4fe39d6c4
Author: Adrien Bustany <abustany gnome org>
Date:   Wed Jun 16 10:53:54 2010 -0400

    Steroids client: Use gboolean instead char for bools
    
    This commit changes the "fast" member of PendingCallData and
    FastPendingCall data to be of type gboolean, which is more
    "semantically" correct for the way we use it.

 src/libtracker-client/tracker.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index 3a47098..8c9a53f 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -127,7 +127,7 @@ typedef struct {
 	 * It is common to both the PendingCallData and the FastPendingCallData
 	 * structs, so it allows differentiating between them, and cast
 	 * appropriately */
-	char fast;
+	gboolean fast;
 #endif
 	DBusGProxy *proxy;
 	DBusGProxyCall *pending_call;
@@ -210,7 +210,7 @@ typedef struct {
 } FastAsyncData;
 
 typedef struct {
-	char           fast;
+	gboolean       fast;
 	GCancellable  *cancellable;
 	FastAsyncData *data;
 } FastPendingCallData;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]