mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
tests: Use boxes instead of vboxes
This commit is contained in:
parent
611b0767c0
commit
682296391f
@ -9498,9 +9498,10 @@ create_idle_test (GtkWidget *widget)
|
||||
"parent", content_area,
|
||||
NULL);
|
||||
box =
|
||||
g_object_new (GTK_TYPE_VBOX,
|
||||
g_object_new (GTK_TYPE_BOX,
|
||||
"visible", TRUE,
|
||||
"parent", frame,
|
||||
"orientation", GTK_ORIENTATION_VERTICAL,
|
||||
NULL);
|
||||
button =
|
||||
g_object_connect (g_object_new (GTK_TYPE_RADIO_BUTTON,
|
||||
|
@ -77,8 +77,9 @@ make_selection_dialog (GdkScreen * screen,
|
||||
|
||||
content_area = gtk_dialog_get_content_area (GTK_DIALOG (window));
|
||||
|
||||
vbox = g_object_new (GTK_TYPE_VBOX,
|
||||
vbox = g_object_new (GTK_TYPE_BOX,
|
||||
"border_width", 5,
|
||||
"orientation", GTK_ORIENTATION_VERTICAL,
|
||||
NULL);
|
||||
gtk_box_pack_start (GTK_BOX (content_area), vbox, FALSE, FALSE, 0);
|
||||
|
||||
|
@ -51,7 +51,7 @@ show_hide (GtkWidget * button, gpointer data)
|
||||
}
|
||||
|
||||
static void
|
||||
move (GtkWidget *button, GtkVBox *vbox)
|
||||
move (GtkWidget *button, GtkBox *vbox)
|
||||
{
|
||||
GdkScreen *screen = gtk_widget_get_screen (button);
|
||||
GtkWidget *toplevel = gtk_widget_get_toplevel (button);
|
||||
|
Loading…
Reference in New Issue
Block a user