diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 1ebb6efbde..d1ad3ffaff 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -3057,9 +3057,6 @@ microphone-sensitivity-medium-symbolic
-
- end
-
@@ -3090,9 +3087,6 @@ microphone-sensitivity-medium-symbolic
-
- end
-
diff --git a/gtk/inspector/recorder.ui b/gtk/inspector/recorder.ui
index 7f3f0ccc89..2ee6e90d0f 100644
--- a/gtk/inspector/recorder.ui
+++ b/gtk/inspector/recorder.ui
@@ -31,6 +31,8 @@
insert-object-symbolic
Add debug nodes
+ start
+ 1
@@ -41,9 +43,6 @@
Save selected node
-
- end
-
diff --git a/gtk/ui/gtkappchooserdialog.ui b/gtk/ui/gtkappchooserdialog.ui
index 6717125671..9c09d757c7 100644
--- a/gtk/ui/gtkappchooserdialog.ui
+++ b/gtk/ui/gtkappchooserdialog.ui
@@ -21,10 +21,9 @@
-
- end
-
-
- end
-
-
- end
-
diff --git a/gtk/ui/gtkfilechooserdialog.ui b/gtk/ui/gtkfilechooserdialog.ui
index 4b75045015..1b37a4ce0e 100644
--- a/gtk/ui/gtkfilechooserdialog.ui
+++ b/gtk/ui/gtkfilechooserdialog.ui
@@ -13,10 +13,9 @@
-
- end
-
-
- end
- 1
-
@@ -101,9 +97,6 @@
-
- end
-
@@ -367,9 +360,6 @@
start
-
- end
-
@@ -377,10 +367,6 @@
-
- 1
- end
-
diff --git a/gtk/ui/gtkprintunixdialog.ui b/gtk/ui/gtkprintunixdialog.ui
index ad005f4e0f..056877c5c0 100644
--- a/gtk/ui/gtkprintunixdialog.ui
+++ b/gtk/ui/gtkprintunixdialog.ui
@@ -1169,7 +1169,6 @@
- end
1
diff --git a/testsuite/gtk/builder.c b/testsuite/gtk/builder.c
index e662570a26..6d320bf454 100644
--- a/testsuite/gtk/builder.c
+++ b/testsuite/gtk/builder.c
@@ -983,22 +983,16 @@ test_child_properties (void)
" "
"";
GObject *label, *vbox;
- GtkPackType pack_type;
-
+ int position;
+
builder = builder_new_from_string (buffer1, -1, NULL);
vbox = gtk_builder_get_object (builder, "vbox1");
g_assert (GTK_IS_BOX (vbox));
@@ -1007,19 +1001,19 @@ test_child_properties (void)
g_assert (GTK_IS_LABEL (label));
gtk_container_child_get (GTK_CONTAINER (vbox),
GTK_WIDGET (label),
- "pack-type",
- &pack_type,
+ "position",
+ &position,
NULL);
- g_assert (pack_type == GTK_PACK_START);
-
+ g_assert_cmpint (position, ==, 0);
+
label = gtk_builder_get_object (builder, "label2");
g_assert (GTK_IS_LABEL (label));
gtk_container_child_get (GTK_CONTAINER (vbox),
GTK_WIDGET (label),
- "pack-type",
- &pack_type,
+ "position",
+ &position,
NULL);
- g_assert (pack_type == GTK_PACK_END);
+ g_assert_cmpint (position, ==, 1);
g_object_unref (builder);
}
@@ -1787,9 +1781,6 @@ test_reference_counting (void)
" vertical"
" "
" "
- " "
- " start"
- " "
" "
" "
"";