# HG changeset patch # User Daniel Atallah # Date 1234731299 0 # Node ID e0dc8933ce26037c1ff2700f924cdca0273b5702 # Parent a946cffda321eba88003df063d05f64d81f684a4 Use a stock size that we are sure exists (which ends up making the icon a pixel smaller). If this a problem, we can register a new icon size. Fixes #8194. diff -r a946cffda321 -r e0dc8933ce26 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sun Feb 15 07:19:59 2009 +0000 +++ b/pidgin/gtkblist.c Sun Feb 15 20:54:59 2009 +0000 @@ -66,7 +66,7 @@ #include #include -#define HEADLINE_CLOSE_SIZE 12 +#define HEADLINE_CLOSE_SIZE 11 typedef struct { @@ -5387,7 +5387,8 @@ NULL); gtk_widget_set_name(gtkblist->headline_hbox, "gtk-tooltips"); - gtkblist->headline_close = gtk_widget_render_icon(ebox, GTK_STOCK_CLOSE, HEADLINE_CLOSE_SIZE, NULL); + 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);