# HG changeset patch # User Sadrul Habib Chowdhury # Date 1177451652 0 # Node ID ca75eccdca3dabfefaa58377bfbb3270ac088f16 # Parent ea82f4e6321e491fe55d48eb5104a23812314224 Make sure the blinking docklet has the same size. Fixes #174. diff -r ea82f4e6321e -r ca75eccdca3d pidgin/gtkdocklet-x11.c --- a/pidgin/gtkdocklet-x11.c Mon Apr 23 07:54:21 2007 +0000 +++ b/pidgin/gtkdocklet-x11.c Tue Apr 24 21:54:12 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); }