[gtkglarea/jjardon/gtk3: 13/21] examples: replace deprecated gtk_vbox_new() function



commit 07f904665689193a2949bad8c382951c214c8ccd
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Mar 24 18:32:55 2014 +0000

    examples: replace deprecated gtk_vbox_new() function

 examples/gtkglarea_demo.c |    2 +-
 examples/shaders.c        |    2 +-
 examples/zktor.c          |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/examples/gtkglarea_demo.c b/examples/gtkglarea_demo.c
index 8b0d545..5537291 100644
--- a/examples/gtkglarea_demo.c
+++ b/examples/gtkglarea_demo.c
@@ -445,7 +445,7 @@ int main (int argc, char** argv) {
 
   /* Main widget container */
 
-  box_main = gtk_vbox_new (FALSE, 10);
+  box_main = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
 
   /* GTK GL Area */
 
diff --git a/examples/shaders.c b/examples/shaders.c
index 545ae37..50c03d4 100644
--- a/examples/shaders.c
+++ b/examples/shaders.c
@@ -417,7 +417,7 @@ int main (int argc, char** argv) {
 
   /* Main widget container */
 
-  box_main = gtk_vbox_new (FALSE, 10);
+  box_main = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
 
   /* GTK GL Area */
 
diff --git a/examples/zktor.c b/examples/zktor.c
index 29b0e3f..068a130 100644
--- a/examples/zktor.c
+++ b/examples/zktor.c
@@ -884,7 +884,7 @@ int main(int argc, char **argv)
                    G_CALLBACK(gtk_main_quit), NULL);
 
 
-  vbox = GTK_WIDGET(gtk_vbox_new(FALSE, 0));
+  vbox = GTK_WIDGET(gtk_box_new(GTK_ORIENTATION_VERTICAL, 0));
   gtk_container_set_border_width(GTK_CONTAINER(vbox), 10);
 
 


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