Mercurial > pidgin
changeset 16355:69ed7b52faeb
merge of '71d55b79094812b06899c2bbe86ce7a8507ac80e'
and 'a917d2f315679edd311d8a5baf70d398fd4f877a'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 24 Apr 2007 21:56:09 +0000 |
parents | fea7c90a5067 (current diff) ca75eccdca3d (diff) |
children | 224250e561bf f1d06ebe7ead |
files | |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkdocklet-x11.c Tue Apr 24 21:44:13 2007 +0000 +++ b/pidgin/gtkdocklet-x11.c Tue Apr 24 21:56:09 2007 +0000 @@ -142,9 +142,10 @@ docklet_x11_blank_icon() { if (!blank_icon) { + GtkIconSize size = GTK_ICON_SIZE_LARGE_TOOLBAR; gint width, height; - - gtk_icon_size_lookup(GTK_ICON_SIZE_LARGE_TOOLBAR, &width, &height); + g_object_get(G_OBJECT(image), "icon-size", &size, NULL); + gtk_icon_size_lookup(size, &width, &height); blank_icon = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, width, height); gdk_pixbuf_fill(blank_icon, 0); }