Skip to content

Commit

Permalink
Use a sane default window size if config is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
codebrainz committed Dec 11, 2011
1 parent 4fbabc1 commit 00473df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit 00473df

Please sign in to comment.