]> Pileus Git - ~andy/gtk/commitdiff
tests/testgtk.c: Fix crash in cursor test
authorJavier Jardón <jjardon@gnome.org>
Mon, 2 May 2011 17:19:09 +0000 (18:19 +0100)
committerJavier Jardón <jjardon@gnome.org>
Mon, 2 May 2011 17:20:23 +0000 (18:20 +0100)
This was introduced in
commit ac4c12ff60374e77d88f8e65fc9cb3b5603a193e

tests/testgtk.c

index 7540016f04578cd08da5fce7f3667431ae7062bf..e34b77b2b96cae076d817c34929f39c730f4ad7d 100644 (file)
@@ -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,