forked from AuroraMiddleware/gtk
tests/testgtk.c: Fix crash in cursor test
This was introduced in
commit ac4c12ff60
This commit is contained in:
parent
87ecd9ad59
commit
fb3c16b7ad
@ -2633,7 +2633,7 @@ create_saved_position (GtkWidget *widget)
|
|||||||
|
|
||||||
vbox =
|
vbox =
|
||||||
g_object_new (GTK_TYPE_BOX,
|
g_object_new (GTK_TYPE_BOX,
|
||||||
"GtkOrientable::orientation", GTK_ORIENTATION_VERTICAL,
|
"orientation", GTK_ORIENTATION_VERTICAL,
|
||||||
"GtkBox::homogeneous", FALSE,
|
"GtkBox::homogeneous", FALSE,
|
||||||
"GtkBox::spacing", 5,
|
"GtkBox::spacing", 5,
|
||||||
"GtkContainer::border_width", 10,
|
"GtkContainer::border_width", 10,
|
||||||
@ -2837,7 +2837,7 @@ create_tooltips (GtkWidget *widget)
|
|||||||
|
|
||||||
box3 =
|
box3 =
|
||||||
g_object_new (GTK_TYPE_BOX,
|
g_object_new (GTK_TYPE_BOX,
|
||||||
"GtkOrientable::orientation", GTK_ORIENTATION_VERTICAL,
|
"orientation", GTK_ORIENTATION_VERTICAL,
|
||||||
"homogeneous", FALSE,
|
"homogeneous", FALSE,
|
||||||
"spacing", 5,
|
"spacing", 5,
|
||||||
"border_width", 5,
|
"border_width", 5,
|
||||||
@ -4964,7 +4964,7 @@ create_cursors (GtkWidget *widget)
|
|||||||
|
|
||||||
vbox =
|
vbox =
|
||||||
g_object_new (GTK_TYPE_BOX,
|
g_object_new (GTK_TYPE_BOX,
|
||||||
"GtkOrientable::orientation", GTK_ORIENTATION_VERTICAL,
|
"orientation", GTK_ORIENTATION_VERTICAL,
|
||||||
"GtkBox::homogeneous", FALSE,
|
"GtkBox::homogeneous", FALSE,
|
||||||
"GtkBox::spacing", 5,
|
"GtkBox::spacing", 5,
|
||||||
"GtkContainer::border_width", 10,
|
"GtkContainer::border_width", 10,
|
||||||
|
Loading…
Reference in New Issue
Block a user