qulogic/pidgin

Remove deprecated headline close image.

2012-05-27, Elliott Sales de Andrade
09c99267472f
Parents 61943eb232e3
Children fac8b55c53ed
Remove deprecated headline close image.
--- 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 */