[poppler] glib/demo

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Fri Dec 6 01:07:01 PST 2013


 glib/demo/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c35bc1da9402896c88999f9cffed6962a265f32e
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Fri Dec 6 10:04:48 2013 +0100

    glib-demo: Increase the default size of the main window
    
    Some demos like annots that show a document view use more space than
    they used to, requiring to manually resize the window everytime.

diff --git a/glib/demo/main.c b/glib/demo/main.c
index e7e2ad5..3ba9b59 100644
--- a/glib/demo/main.c
+++ b/glib/demo/main.c
@@ -345,7 +345,7 @@ gint main (gint argc, gchar **argv)
 
 	/* Main window */
 	win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-	gtk_window_set_default_size (GTK_WINDOW (win), 600, 600);
+	gtk_window_set_default_size (GTK_WINDOW (win), 1024, 768);
 	gtk_window_set_title (GTK_WINDOW (win), "Poppler GLib Demo");
 	g_signal_connect (G_OBJECT (win), "delete-event",
 			  G_CALLBACK (gtk_main_quit), NULL);


More information about the poppler mailing list