[tracker/dbus-fd-experiment: 26/49] Steroids client: Use gboolean instead char for bools
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/dbus-fd-experiment: 26/49] Steroids client: Use gboolean instead char for bools
- Date: Tue, 22 Jun 2010 11:21:33 +0000 (UTC)
commit c0b0458933c1c162716b73f62d012551cf39ac3a
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]