[gtk+] tests: Use gtk_widget_set_size_request() instead gtk_widget_set_usize()



commit 4e6a665e613fc7c65874bc5a121c7b87fe65b3e2
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Sep 8 18:39:36 2010 +0200

    tests: Use gtk_widget_set_size_request() instead gtk_widget_set_usize()

 tests/testthreads.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testthreads.c b/tests/testthreads.c
index 469e195..8c81da6 100644
--- a/tests/testthreads.c
+++ b/tests/testthreads.c
@@ -65,7 +65,7 @@ counter (void *data)
 
   window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
   gtk_window_set_title (GTK_WINDOW (window), name);
-  gtk_widget_set_usize (window, 100, 50);
+  gtk_widget_set_size_request (window, 100, 50);
 
   vbox = gtk_vbox_new (FALSE, 0);
 



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