summaryrefslogtreecommitdiff
path: root/tests/testheightforwidth.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-25 20:57:20 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-25 20:59:04 -0500
commitb5bacb3be640a25eb7573090df6d1af6a9adcc7e (patch)
tree4bb50d67d3952387b5a9f99f63db68f5e95f58ba /tests/testheightforwidth.c
parenta9c05193a7b7366989b75471150b1f6d644e2285 (diff)
downloadgtk+-b5bacb3be640a25eb7573090df6d1af6a9adcc7e.tar.gz
Drop the margin property
Replace it with margin-start, -end, -top, -bottom throughout.
Diffstat (limited to 'tests/testheightforwidth.c')
-rw-r--r--tests/testheightforwidth.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/testheightforwidth.c b/tests/testheightforwidth.c
index 6239831960..ae4ae9cc13 100644
--- a/tests/testheightforwidth.c
+++ b/tests/testheightforwidth.c
@@ -811,7 +811,10 @@ create_window (void)
window = gtk_window_new ();
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- g_object_set (vbox, "margin", 8, NULL);
+ gtk_widget_set_margin_start (vbox, 8);
+ gtk_widget_set_margin_end (vbox, 8);
+ gtk_widget_set_margin_top (vbox, 8);
+ gtk_widget_set_margin_bottom (vbox, 8);
gtk_container_add (GTK_CONTAINER (window), vbox);