[gnome-settings-daemon] color: parent isn't used in this function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] color: parent isn't used in this function
- Date: Thu, 20 Oct 2011 16:00:26 +0000 (UTC)
commit 7b5c4d16858e6cec7b88ead2ec8ffd05fc40eec5
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 20 16:24:19 2011 +0100
color: parent isn't used in this function
plugins/color/gcm-profile-store.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/color/gcm-profile-store.c b/plugins/color/gcm-profile-store.c
index b32e195..ee81925 100644
--- a/plugins/color/gcm-profile-store.c
+++ b/plugins/color/gcm-profile-store.c
@@ -197,7 +197,6 @@ gcm_profile_store_file_monitor_changed_cb (GFileMonitor *monitor,
{
gchar *path = NULL;
gchar *parent_path = NULL;
- GFile *parent = NULL;
const gchar *tmp;
GcmProfileStoreDirHelper *helper;
@@ -238,8 +237,6 @@ gcm_profile_store_file_monitor_changed_cb (GFileMonitor *monitor,
goto out;
}
out:
- if (parent != NULL)
- g_object_unref (parent);
g_free (path);
g_free (parent_path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]