diff options
| author | mutantturkey <crazycal00@gmail.com> | 2010-04-26 16:10:02 -0400 | 
|---|---|---|
| committer | mutantturkey <crazycal00@gmail.com> | 2010-04-26 16:10:02 -0400 | 
| commit | 6ac1076ea62c94bb47f600830385196bebdaff3f (patch) | |
| tree | 40b42db47c59131d8538b1e8fd1c290996f9d41e /mt.c | |
| parent | 116910ad908344f92fc8d827a00a4e827d05ef59 (diff) | |
removed stupid fputs() i was using for debugging a while ago
Diffstat (limited to 'mt.c')
| -rw-r--r-- | mt.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -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);  } | 
