pidgin: 87ddfd62: Remove deprecated headline close image.

qulogic at pidgin.im qulogic at pidgin.im
Sun May 27 00:35:05 EDT 2012


----------------------------------------------------------------------
Revision: 87ddfd62632fa36c2e05ca50a1f19aff2a24a559
Parent:   99739b011f36e9d78efbf63334b90d59bd14a111
Author:   qulogic at pidgin.im
Date:     05/27/12 00:03:53
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/87ddfd62632fa36c2e05ca50a1f19aff2a24a559

Changelog: 

Remove deprecated headline close image.

Changes against parent 99739b011f36e9d78efbf63334b90d59bd14a111

  patched  pidgin/gtkblist.c
  patched  pidgin/gtkblist.h

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	6f0d5519573aa7d51900571794c1a5ed44512239
+++ pidgin/gtkblist.c	90477f1dd368acf268b2a85c815c5dbaa033b05e
@@ -5951,8 +5951,6 @@ static void pidgin_blist_show(PurpleBudd
 			  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 @@ static void pidgin_blist_destroy(PurpleB
 
 	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();
============================================================
--- pidgin/gtkblist.h	e707ea970f489d09f6d9f076b1cb1d3b4eb0d180
+++ pidgin/gtkblist.h	63633ab04d7733c690c00d7132f03f69cb4ee8ac
@@ -110,7 +110,6 @@ struct _PidginBuddyList {
 	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 */


More information about the Commits mailing list