# HG changeset patch # User Casey Harkins # Date 1194996354 0 # Node ID 999e7907ada961cea03b3d315bea384bb9a9f633 # Parent f16534ec2897e80b57f557bbafdf1165722b3389 disapproval of revision 'f2ac3f0cdea64fd5e603c5350cabf85ed619f5e3' diff -r f16534ec2897 -r 999e7907ada9 pidgin/gtkdocklet-x11.c --- a/pidgin/gtkdocklet-x11.c Tue Nov 13 22:44:51 2007 +0000 +++ b/pidgin/gtkdocklet-x11.c Tue Nov 13 23:25:54 2007 +0000 @@ -139,9 +139,9 @@ static void docklet_x11_resize_icon(GtkWidget *widget) { - if (docklet_height == widget->allocation.height) + if (docklet_height == MIN(widget->allocation.height, widget->allocation.width)) return; - docklet_height = widget->allocation.height; + docklet_height = MIN(widget->allocation.height, widget->allocation.width); pidgin_docklet_update_icon(); }