changeset 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 997570b274d1
files pidgin/gtkblist.c pidgin/gtkblist.h
diffstat 2 files changed, 0 insertions(+), 6 deletions(-) [+]
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();
--- a/pidgin/gtkblist.h	Sun May 27 03:55:52 2012 +0000
+++ b/pidgin/gtkblist.h	Sun May 27 04:03:53 2012 +0000
@@ -110,7 +110,6 @@
 	GtkWidget *headline_hbox;       /**< Hbox for headline notification */
 	GtkWidget *headline_label;	/**< Label for headline notifications */
 	GtkWidget *headline_image;      /**< Image for headline notifications */
-	GdkPixbuf *headline_close;      /**< @deprecated: Close image for closing the headline without triggering the callback */
 	GCallback headline_callback;    /**< Callback for headline notifications */
 	gpointer headline_data;         /**< User data for headline notifications */
 	GDestroyNotify headline_destroy; /**< Callback to use for destroying the headline-data */