pidgin/gtkdocklet-x11.c

changeset 17756
0eb3eae720fb
parent 17704
d795d29d11e0
child 19859
71d37b57eff2
equal deleted inserted replaced
17755:ed70e92f7c28 17756:0eb3eae720fb
137 } 137 }
138 138
139 static void 139 static void
140 docklet_x11_resize_icon(GtkWidget *widget) 140 docklet_x11_resize_icon(GtkWidget *widget)
141 { 141 {
142 if (docklet_height == widget->allocation.height) 142 if (docklet_height == MIN(widget->allocation.height, widget->allocation.width))
143 return; 143 return;
144 docklet_height = widget->allocation.height; 144 docklet_height = MIN(widget->allocation.height, widget->allocation.width);
145 pidgin_docklet_update_icon(); 145 pidgin_docklet_update_icon();
146 } 146 }
147 147
148 static void 148 static void
149 docklet_x11_blank_icon() 149 docklet_x11_blank_icon()

mercurial