From 6ac1076ea62c94bb47f600830385196bebdaff3f Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Mon, 26 Apr 2010 16:10:02 -0400 Subject: removed stupid fputs() i was using for debugging a while ago --- mt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mt.c b/mt.c index 576769d..7fe2d25 100644 --- a/mt.c +++ b/mt.c @@ -82,13 +82,14 @@ static void tab_geometry_hints(struct term *t) { char_width = vte_terminal_get_char_width(VTE_TERMINAL(t->vte)); char_height = vte_terminal_get_char_height(VTE_TERMINAL(t->vte)); - puts("1"); + hints.min_width = char_width + border->left + border->right; hints.min_height = char_height + border->top + border->bottom; hints.base_width = border->left + border->right; hints.base_height = border->top + border->bottom; hints.width_inc = char_width; hints.height_inc = char_height; + gtk_window_set_geometry_hints(GTK_WINDOW (mt.win), GTK_WIDGET (t->vte), &hints, GDK_HINT_RESIZE_INC | GDK_HINT_MIN_SIZE | GDK_HINT_BASE_SIZE); } -- cgit v1.2.3