[tracker] tracker-utils: Fixed compilation issue



commit 43afc888a50d5a5567373dd16740cfb274ffac86
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Mar 30 11:35:56 2010 +0200

    tracker-utils: Fixed compilation issue

 src/tracker-utils/Makefile.am      |    2 +-
 src/tracker-utils/tracker-status.c |   11 +++++------
 2 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/src/tracker-utils/Makefile.am b/src/tracker-utils/Makefile.am
index 5bacff4..5530f33 100644
--- a/src/tracker-utils/Makefile.am
+++ b/src/tracker-utils/Makefile.am
@@ -54,7 +54,7 @@ tracker_import_SOURCES = tracker-import.c
 tracker_import_LDADD = $(libs)
 
 dbus_sources = 								\
-	tracker-busy-notifier-client.h
+	tracker-status-client.h
 
 %-client.h: $(top_srcdir)/data/dbus/%.xml
 	$(AM_V_GEN)$(DBUSBINDINGTOOL) --mode=glib-client --output=$@ --prefix=$(subst -,_,$*) $^
diff --git a/src/tracker-utils/tracker-status.c b/src/tracker-utils/tracker-status.c
index 80bc157..9c923ae 100644
--- a/src/tracker-utils/tracker-status.c
+++ b/src/tracker-utils/tracker-status.c
@@ -32,8 +32,7 @@
 #include <libtracker-common/tracker-type-utils.h>
 #include <libtracker-miner/tracker-miner.h>
 
-#include "tracker-miner-client.h"
-#include "tracker-busy-notifier-client.h"
+#include "tracker-status-client.h"
 
 #define ABOUT	  \
 	"Tracker " PACKAGE_VERSION "\n"
@@ -281,14 +280,14 @@ store_print_state (void)
 	gchar *status;
 	gchar time_str[64];
 
-	org_freedesktop_Tracker1_BusyNotifier_get_progress (proxy, &progress, &error);
+	org_freedesktop_Tracker1_Status_get_progress (proxy, &progress, &error);
 
 	if (error) {
 		g_critical ("Couldn't retrieve tracker-store progress: %s\n", error->message);
 		return;
 	}
 
-	org_freedesktop_Tracker1_BusyNotifier_get_status (proxy, &status, &error);
+	org_freedesktop_Tracker1_Status_get_status (proxy, &status, &error);
 
 	if (error) {
 		g_critical ("Couldn't retrieve tracker-store status: %s\n", error->message);
@@ -410,8 +409,8 @@ init_store_proxy (void)
 
 	proxy = dbus_g_proxy_new_for_name (connection,
 	                                   "org.freedesktop.Tracker1",
-	                                   "/org/freedesktop/Tracker1/BusyNotifier",
-	                                   "org.freedesktop.Tracker1.BusyNotifier");
+	                                   "/org/freedesktop/Tracker1/Status",
+	                                   "org.freedesktop.Tracker1.Status");
 
 	dbus_g_proxy_add_signal (proxy,
 	                         "Progress",



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