[gtk+] tests/testgtk.c: Fix crash in cursor test



commit fb3c16b7ad04ee412dc10320c958307f06efb4cf
Author: Javier Jardón <jjardon gnome org>
Date:   Mon May 2 18:19:09 2011 +0100

    tests/testgtk.c: Fix crash in cursor test
    
    This was introduced in
    commit ac4c12ff60374e77d88f8e65fc9cb3b5603a193e

 tests/testgtk.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 7540016..e34b77b 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2633,7 +2633,7 @@ create_saved_position (GtkWidget *widget)
 
       vbox =
 	g_object_new (GTK_TYPE_BOX,
-                      "GtkOrientable::orientation", GTK_ORIENTATION_VERTICAL,
+                      "orientation", GTK_ORIENTATION_VERTICAL,
 			"GtkBox::homogeneous", FALSE,
 			"GtkBox::spacing", 5,
 			"GtkContainer::border_width", 10,
@@ -2837,7 +2837,7 @@ create_tooltips (GtkWidget *widget)
 
       box3 =
 	g_object_new (GTK_TYPE_BOX,
-                      "GtkOrientable::orientation", GTK_ORIENTATION_VERTICAL,
+                      "orientation", GTK_ORIENTATION_VERTICAL,
 			"homogeneous", FALSE,
 			"spacing", 5,
 			"border_width", 5,
@@ -4964,7 +4964,7 @@ create_cursors (GtkWidget *widget)
 
       vbox =
 	g_object_new (GTK_TYPE_BOX,
-                      "GtkOrientable::orientation", GTK_ORIENTATION_VERTICAL,
+                      "orientation", GTK_ORIENTATION_VERTICAL,
 			"GtkBox::homogeneous", FALSE,
 			"GtkBox::spacing", 5,
 			"GtkContainer::border_width", 10,



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