From 00473dff4e95c6d1b128edfc26038f4e98cbddf8 Mon Sep 17 00:00:00 2001 From: Matthew Brush Date: Sat, 10 Dec 2011 19:27:59 -0800 Subject: [PATCH] Use a sane default window size if config is missing --- src/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.c b/src/main.c index b4da6c8d3..957b64b59 100644 --- a/src/main.c +++ b/src/main.c @@ -275,9 +275,6 @@ static void main_init(void) gtk_widget_set_name(ui_lookup_widget(main_widgets.window, "menubar1"), "GeanyMenubar"); gtk_widget_set_name(main_widgets.toolbar, "GeanyToolbar"); - /* for some reason we need to set the initial size request, - * otherwise the main window gets crazy dimensions */ - gtk_widget_set_size_request(main_widgets.window, 10, 10); gtk_window_set_default_size(GTK_WINDOW(main_widgets.window), GEANY_WINDOW_DEFAULT_WIDTH, GEANY_WINDOW_DEFAULT_HEIGHT); } -- 2.11.4.GIT