Uninitialised variable caused ultra-wide windows. Silly.

[originally from svn r4195]
This commit is contained in:
Simon Tatham
2004-05-04 08:28:47 +00:00
parent 72c581a959
commit 17214d1764

2
gtk.c
View File

@ -869,7 +869,7 @@ static frontend *new_window(void)
#if 0
/* For GTK 2.0, should we be using gtk_widget_set_size_request? */
#endif
gtk_widget_set_usize(viewport, x, req.height);
gtk_widget_set_usize(viewport, -1, req.height);
} else
fe->statusbar = NULL;