Skip to content

Commit

Permalink
bloatpad: Be 640x480 by default
Browse files Browse the repository at this point in the history
Because otherwise we're just a few pixels, and this is the least lame
solution I know of in GTK+.
  • Loading branch information
cgwalters authored and allisonkarlitskaya committed Dec 19, 2011
1 parent 2c6b7ef commit 7ad83b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/bloatpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ new_window (GApplication *app,
GtkWidget *window, *grid, *scrolled, *view;

window = gtk_application_window_new (GTK_APPLICATION (app));
gtk_window_set_default_size ((GtkWindow*)window, 640, 480);
g_action_map_add_action_entries (G_ACTION_MAP (window), win_entries, G_N_ELEMENTS (win_entries), window);
gtk_window_set_title (GTK_WINDOW (window), "Bloatpad");

Expand Down

0 comments on commit 7ad83b6

Please sign in to comment.