summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-12-01 17:53:28 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:09 -0500
commit7ad83b6827030ae44ab11d495a6d7b1327d15a01 (patch)
tree0c68728d694558cb89bc6d9a445cbd61eb9b072c /examples
parent2c6b7eff17da7992b746b45887262277f2c7941c (diff)
downloadgtk+-7ad83b6827030ae44ab11d495a6d7b1327d15a01.tar.gz
bloatpad: Be 640x480 by default
Because otherwise we're just a few pixels, and this is the least lame solution I know of in GTK+.
Diffstat (limited to 'examples')
-rw-r--r--examples/bloatpad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 482163ae34..1a2a050e68 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -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");