[anjuta] Remove deprecated GTK+ symbols. Fixes bug 572754.



commit f87c4d4ce2587dc0f65c906805caac400da0455e
Author: Andre Klapper <a9016009 gmx de>
Date:   Fri May 28 20:59:31 2010 +0200

    Remove deprecated GTK+ symbols. Fixes bug 572754.

 plugins/class-inheritance/class-inherit.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/class-inheritance/class-inherit.c b/plugins/class-inheritance/class-inherit.c
index e9e12e6..06f339f 100644
--- a/plugins/class-inheritance/class-inherit.c
+++ b/plugins/class-inheritance/class-inherit.c
@@ -135,7 +135,7 @@ cls_node_item_free (ClsNodeItem *cls_item)
 	if (cls_item->file)
 		g_object_unref (cls_item->file);
 	if (cls_item->icon)
-		gdk_pixbuf_unref (cls_item->icon);
+		g_object_unref (cls_item->icon);
 	
 	if (cls_item->tooltip_timeout)
 		g_source_remove (cls_item->tooltip_timeout);
@@ -412,7 +412,7 @@ cls_node_expand (ClsNode *cls_node, ClsNodeExpansionType expansion_type)
 				cls_item->label = g_strconcat (name, " : ", type_name, NULL);
 				cls_item->order = var_order++;
 				if (icon)
-					gdk_pixbuf_ref (icon);
+					g_object_ref (icon);
 				cls_item->icon = icon;
 				
 				g_hash_table_insert (cls_node->members,
@@ -478,7 +478,7 @@ cls_node_expand (ClsNode *cls_node, ClsNodeExpansionType expansion_type)
 					cls_item->type_name = g_strdup (type_name);
 					cls_item->order = method_order++;
 					if (icon)
-						gdk_pixbuf_ref (icon);
+						g_object_ref (icon);
 					cls_item->icon = icon;
 					
 					g_string_append_printf (label, "|%s", cls_item->label);



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