console/libgnt/gnttextview.c

changeset 14005
198d1658b390
parent 13993
8c12e7d15b40
child 14014
223d99ce2f06
--- a/console/libgnt/gnttextview.c	Mon Jul 10 18:08:11 2006 +0000
+++ b/console/libgnt/gnttextview.c	Mon Jul 10 23:55:24 2006 +0000
@@ -113,9 +113,14 @@
 static void
 gnt_text_view_init(GTypeInstance *instance, gpointer class)
 {
+	GntWidget *widget = GNT_WIDGET(instance);
+	
 	/* XXX: For now, resizing the width is not permitted. This is because
 	 * of the way I am handling wrapped lines. */
 	GNT_WIDGET_SET_FLAGS(GNT_WIDGET(instance), GNT_WIDGET_GROW_Y);
+
+	widget->priv.minw = 5;
+	widget->priv.minh = 1;
 	DEBUG;
 }
 

mercurial