[tracker/dbus-fd-experiment] Steroids client: Fix ifdef order



commit 977a66ba0ecef302753802a902f8dd6776119752
Author: Adrien Bustany <abustany gnome org>
Date:   Thu Jun 3 13:23:28 2010 -0400

    Steroids client: Fix ifdef order
    
    The steroids support break if DISABLE_DEPRECATED was set, because of
    wrong #ifdef order

 src/libtracker-client/tracker.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index b760112..a457fca 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -147,6 +147,8 @@ typedef struct {
 	guint id;
 } CallbackArray;
 
+#endif /* TRACKER_DISABLE_DEPRECATED */
+
 struct TrackerResultIterator {
 #ifdef HAVE_DBUS_FD_PASSING
 	int fd;
@@ -167,7 +169,6 @@ struct TrackerResultIterator {
 #endif
 };
 
-#endif /* TRACKER_DISABLE_DEPRECATED */
 
 static gboolean is_service_available (void);
 static void     client_finalize      (GObject      *object);



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