[tracker/gdbus-porting] Style changes
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting] Style changes
- Date: Wed, 29 Dec 2010 15:54:18 +0000 (UTC)
commit 23fa60ac5c9fbc995ebdc1931e40d977d72d3ca9
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Dec 29 15:44:11 2010 +0100
Style changes
src/libtracker-miner/tracker-miner-manager.c | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-manager.c b/src/libtracker-miner/tracker-miner-manager.c
index 05dc14d..ff9ed60 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -375,19 +375,28 @@ tracker_miner_manager_init (TrackerMinerManager *manager)
static void
miner_data_free (MinerData *data)
{
- if (data->watch_name_signal)
+ if (data->watch_name_signal != 0) {
g_bus_unwatch_name (data->watch_name_signal);
- if (data->progress_signal)
+ }
+
+ if (data->progress_signal) {
g_dbus_connection_signal_unsubscribe (data->connection,
data->progress_signal);
- if (data->paused_signal)
+ }
+
+ if (data->paused_signal) {
g_dbus_connection_signal_unsubscribe (data->connection,
data->paused_signal);
- if (data->resumed_signal)
+ }
+
+ if (data->resumed_signal) {
g_dbus_connection_signal_unsubscribe (data->connection,
data->resumed_signal);
- if (data->connection)
+ }
+
+ if (data->connection) {
g_object_unref (data->connection);
+ }
g_free (data->dbus_path);
g_free (data->display_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]