diff pidgin/gtkstatusbox.c @ 16098:634b96915d2e

Death to Binreloc\!
author Sean Egan <seanegan@gmail.com>
date Sat, 14 Apr 2007 07:15:02 +0000
parents 07554cc5d090
children e57d9d5e5c86
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c	Sat Apr 14 02:19:49 2007 +0000
+++ b/pidgin/gtkstatusbox.c	Sat Apr 14 07:15:02 2007 +0000
@@ -1875,7 +1875,7 @@
 		GtkTextDirection dir = gtk_widget_get_direction(widget);
 		parent_alc.width -= (parent_alc.height + border_width);
 		icon_alc = parent_alc;
-		icon_alc.height = MAX(1,req.height) - (border_width*2) -2;
+		icon_alc.height = MAX(1, icon_alc.height) - 2;
 		icon_alc.width = icon_alc.height;
 		if (dir == GTK_TEXT_DIR_RTL) {
 			icon_alc.x = parent_alc.x;