# HG changeset patch # User Elliott Sales de Andrade # Date 1338091433 0 # Node ID 1056a2803806f21a80e07c3100c7c2596bc26c7e # Parent c0837c5cc7e5243715f7fb3cfda3cc3efcd3f21e Remove deprecated headline close image. diff -r c0837c5cc7e5 -r 1056a2803806 pidgin/gtkblist.c --- 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(); diff -r c0837c5cc7e5 -r 1056a2803806 pidgin/gtkblist.h --- 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 */