[libgnomekbd] Unneeded g_object_unref dropped



commit 771c2007f51fa5ed0607bbde23d7a5b062e6c5fc
Author: Sergey V. Udaltsov <svu gnome org>
Date:   Tue Mar 9 21:25:00 2010 +0000

    Unneeded g_object_unref dropped
    
    It caused crash - the resource is not owned.
    https://bugzilla.gnome.org/show_bug.cgi?id=612341

 libgnomekbd/gkbd-indicator-config.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libgnomekbd/gkbd-indicator-config.c b/libgnomekbd/gkbd-indicator-config.c
index a34456c..89e6385 100644
--- a/libgnomekbd/gkbd-indicator-config.c
+++ b/libgnomekbd/gkbd-indicator-config.c
@@ -175,7 +175,6 @@ gkbd_indicator_config_load_font_from_gconf (GkbdIndicatorConfig *
 				     ((double) style->fg[GTK_STATE_NORMAL].
 				      blue) / 0x10000);
 
-		g_object_unref (style);
 	}
 }
 



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