[gnome-settings-daemon] color: profile isn't used in this function



commit 97fc49be7cc5f73a9173b6f75eba1febfbeb27dd
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Oct 20 16:23:21 2011 +0100

    color: profile isn't used in this function

 plugins/color/gsd-color-manager.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/color/gsd-color-manager.c b/plugins/color/gsd-color-manager.c
index 17b4662..da60dac 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -1918,7 +1918,6 @@ gcm_session_profile_store_added_cb (GcmProfileStore *profile_store,
                                     const gchar *filename,
                                     GsdColorManager *manager)
 {
-        CdProfile *profile = NULL;
         gchar *checksum = NULL;
         gchar *profile_id = NULL;
         GError *error = NULL;
@@ -1958,8 +1957,6 @@ out:
         g_free (profile_id);
         if (profile_props != NULL)
                 g_hash_table_unref (profile_props);
-        if (profile != NULL)
-                g_object_unref (profile);
 }
 
 static void



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