[libgdata] demos: Fix window sizes



commit fc15d815fdd463833f548ab02de2c755659526b7
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Jan 16 17:28:46 2011 +0000

    demos: Fix window sizes

 demos/scrapbook/scrapbook.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/demos/scrapbook/scrapbook.c b/demos/scrapbook/scrapbook.c
index 63f16d2..2c6a3ef 100644
--- a/demos/scrapbook/scrapbook.c
+++ b/demos/scrapbook/scrapbook.c
@@ -443,7 +443,6 @@ properties_show (GtkWidget *widget, ScrapData *first)
 	self			= g_slice_new (struct _ScrapProps);
 	self->main_data	= first;
 	self->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-	gtk_window_resize (GTK_WINDOW (self->window), 250, 250);
 	g_signal_connect (self->window, "destroy", G_CALLBACK (gtk_widget_destroy), NULL);
 	g_signal_connect (self->window, "delete-event", G_CALLBACK (gtk_widget_destroy), NULL);
 	
@@ -639,7 +638,6 @@ main(int argc, char **argv)
 	scrapbook->p_upload			= fUpload;
 	fUpload->main_data			= scrapbook;
 	
-	gtk_window_resize(GTK_WINDOW (scrapbook->window), 350, 150);
 	scrapbook->box1		= gtk_hbox_new		(FALSE, 0);
 	scrapbook->box2		= gtk_vbox_new		(FALSE, 2);
 	scrapbook->table	= gtk_table_new		(5,5,FALSE);



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