diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-25 20:57:20 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-25 20:59:04 -0500 |
commit | b5bacb3be640a25eb7573090df6d1af6a9adcc7e (patch) | |
tree | 4bb50d67d3952387b5a9f99f63db68f5e95f58ba /tests/testfilechooserbutton.c | |
parent | a9c05193a7b7366989b75471150b1f6d644e2285 (diff) | |
download | gtk+-b5bacb3be640a25eb7573090df6d1af6a9adcc7e.tar.gz |
Drop the margin property
Replace it with margin-start, -end, -top, -bottom throughout.
Diffstat (limited to 'tests/testfilechooserbutton.c')
-rw-r--r-- | tests/testfilechooserbutton.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/testfilechooserbutton.c b/tests/testfilechooserbutton.c index 7809cd06fc..2113fa65ea 100644 --- a/tests/testfilechooserbutton.c +++ b/tests/testfilechooserbutton.c @@ -304,7 +304,10 @@ main (int argc, g_signal_connect (win, "response", G_CALLBACK (quit_cb), &done); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 18); - g_object_set (vbox, "margin", 6, NULL); + gtk_widget_set_margin_start (vbox, 6); + gtk_widget_set_margin_end (vbox, 6); + gtk_widget_set_margin_top (vbox, 6); + gtk_widget_set_margin_bottom (vbox, 6); gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (win))), vbox); frame = gtk_frame_new ("<b>GtkFileChooserButton</b>"); |