[tracker/gdbus-porting] Style changes



commit efdbd8b7125c521afc8bdfb10780d21b59390d59
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Dec 29 15:44:53 2010 +0100

    Style changes

 src/libtracker-miner/tracker-miner-manager.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-manager.c b/src/libtracker-miner/tracker-miner-manager.c
index ff9ed60..ff31614 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -63,7 +63,7 @@ struct MinerData {
 	guint progress_signal;
 	guint paused_signal;
 	guint resumed_signal;
-	guint watch_name_signal;
+	guint watch_name_id;
 };
 
 struct TrackerMinerManagerPrivate {
@@ -361,13 +361,13 @@ tracker_miner_manager_init (TrackerMinerManager *manager)
 
 		g_hash_table_insert (priv->miner_proxies, proxy, g_strdup (data->dbus_name));
 
-		data->watch_name_signal = g_bus_watch_name (G_BUS_TYPE_SESSION,
-		                                            data->dbus_name,
-		                                            G_BUS_NAME_WATCHER_FLAGS_NONE,
-		                                            miner_appears,
-		                                            miner_disappears,
-		                                            manager,
-		                                            NULL);
+		data->watch_name_id = g_bus_watch_name (G_BUS_TYPE_SESSION,
+		                                        data->dbus_name,
+		                                        G_BUS_NAME_WATCHER_FLAGS_NONE,
+		                                        miner_appears,
+		                                        miner_disappears,
+		                                        manager,
+		                                        NULL);
 
 	}
 }
@@ -375,8 +375,8 @@ tracker_miner_manager_init (TrackerMinerManager *manager)
 static void
 miner_data_free (MinerData *data)
 {
-	if (data->watch_name_signal != 0) {
-		g_bus_unwatch_name (data->watch_name_signal);
+	if (data->watch_name_id != 0) {
+		g_bus_unwatch_name (data->watch_name_id);
 	}
 
 	if (data->progress_signal) {



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