[gtk+] css: Use the correct free function
- From: Benjamin Otte <otte src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+] css: Use the correct free function
 
- Date: Wed, 20 Jul 2011 00:52:54 +0000 (UTC)
 
commit 014165151fcd3a2684dbd94aeb3fe517d87e909f
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jul 19 15:54:09 2011 +0200
    css: Use the correct free function
 gtk/gtkcssparser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssparser.c b/gtk/gtkcssparser.c
index 1b2710d..e9fe6a4 100644
--- a/gtk/gtkcssparser.c
+++ b/gtk/gtkcssparser.c
@@ -662,7 +662,7 @@ gtk_css_parser_read_symbolic_color_function (GtkCssParser *parser,
           child2 = _gtk_css_parser_read_symbolic_color (parser);
           if (child2 == NULL)
             {
-              g_object_unref (child1);
+              gtk_symbolic_color_unref (child1);
               return NULL;
             }
         }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]