comparison 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
comparison
equal deleted inserted replaced
32803:c0837c5cc7e5 32804:1056a2803806
5949 "expose_event", 5949 "expose_event",
5950 G_CALLBACK (paint_headline_hbox), 5950 G_CALLBACK (paint_headline_hbox),
5951 NULL); 5951 NULL);
5952 gtk_widget_set_name(gtkblist->headline_hbox, "gtk-tooltips"); 5952 gtk_widget_set_name(gtkblist->headline_hbox, "gtk-tooltips");
5953 5953
5954 gtkblist->headline_close = gtk_widget_render_icon(ebox, GTK_STOCK_CLOSE,
5955 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_MICROSCOPIC), NULL);
5956 gtkblist->hand_cursor = gdk_cursor_new (GDK_HAND2); 5954 gtkblist->hand_cursor = gdk_cursor_new (GDK_HAND2);
5957 gtkblist->arrow_cursor = gdk_cursor_new (GDK_LEFT_PTR); 5955 gtkblist->arrow_cursor = gdk_cursor_new (GDK_LEFT_PTR);
5958 5956
5959 /* Close button. */ 5957 /* Close button. */
5960 close = gtk_image_new_from_stock(GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU); 5958 close = gtk_image_new_from_stock(GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU);
6946 6944
6947 g_return_if_fail(list->ui_data == gtkblist); 6945 g_return_if_fail(list->ui_data == gtkblist);
6948 6946
6949 purple_signals_disconnect_by_handle(gtkblist); 6947 purple_signals_disconnect_by_handle(gtkblist);
6950 6948
6951 if (gtkblist->headline_close)
6952 g_object_unref(G_OBJECT(gtkblist->headline_close));
6953
6954 gtk_widget_destroy(gtkblist->window); 6949 gtk_widget_destroy(gtkblist->window);
6955 6950
6956 pidgin_blist_tooltip_destroy(); 6951 pidgin_blist_tooltip_destroy();
6957 6952
6958 if (gtkblist->refresh_timer) 6953 if (gtkblist->refresh_timer)