openbsd-ports/net/xchat/patches/patch-src_fe-gtk_xtext_c

16 lines
515 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_fe-gtk_xtext_c,v 1.1 2003/08/02 14:36:50 couderc Exp $
--- src/fe-gtk/xtext.c.orig 2003-08-02 16:06:15.000000000 +0200
+++ src/fe-gtk/xtext.c 2003-08-02 16:07:47.000000000 +0200
@@ -505,7 +505,11 @@ gtk_xtext_size_allocate (GtkWidget * wid
int height_only = FALSE;
if (allocation->width == widget->allocation.width)
+ {
+ if (allocation->height == widget->allocation.height)
+ return;
height_only = TRUE;
+ }
widget->allocation = *allocation;
if (GTK_WIDGET_REALIZED (widget))