[gtk+/wip/gmenu] bloatpad: Be 640x480 by default



commit 57ce8019989ec30d4ad317ebaad5ae6b03c08dc0
Author: Colin Walters <walters verbum org>
Date:   Thu Dec 1 17:53:28 2011 -0500

    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+.

 examples/bloatpad.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 482163a..1a2a050 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");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]