diff pidgin/gtkblist.c @ 32804:1056a2803806

Remove deprecated headline close image.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 27 May 2012 04:03:53 +0000
parents c0837c5cc7e5
children
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sun May 27 03:55:52 2012 +0000
+++ b/pidgin/gtkblist.c	Sun May 27 04:03:53 2012 +0000
@@ -5951,8 +5951,6 @@
 			  NULL);
 	gtk_widget_set_name(gtkblist->headline_hbox, "gtk-tooltips");
 
-	gtkblist->headline_close = gtk_widget_render_icon(ebox, GTK_STOCK_CLOSE,
-		gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_MICROSCOPIC), NULL);
 	gtkblist->hand_cursor = gdk_cursor_new (GDK_HAND2);
 	gtkblist->arrow_cursor = gdk_cursor_new (GDK_LEFT_PTR);
 
@@ -6948,9 +6946,6 @@
 
 	purple_signals_disconnect_by_handle(gtkblist);
 
-	if (gtkblist->headline_close)
-		g_object_unref(G_OBJECT(gtkblist->headline_close));
-
 	gtk_widget_destroy(gtkblist->window);
 
 	pidgin_blist_tooltip_destroy();