changeset 14723:d18b9360ba54

[gaim-migrate @ 17477] Patch from Richard Nelson (wabz) to fix a crash in the statusbox. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 14 Oct 2006 01:52:33 +0000
parents 51685370de57
children d9bd8925efcc
files console/libgnt/gntcombobox.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gntcombobox.c	Fri Oct 13 02:31:36 2006 +0000
+++ b/console/libgnt/gntcombobox.c	Sat Oct 14 01:52:33 2006 +0000
@@ -102,6 +102,8 @@
 		mvwin(parent->window, y, widget->priv.x);
 		wresize(parent->window, height+2, widget->priv.width);
 	}
+	parent->priv.width = widget->priv.width;
+	parent->priv.height = height + 2;
 
 	gnt_widget_draw(parent);
 }