diff options
Diffstat (limited to 'tests/testoutsetshadowdrawing.c')
-rw-r--r-- | tests/testoutsetshadowdrawing.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/testoutsetshadowdrawing.c b/tests/testoutsetshadowdrawing.c index 6f221375cc..3b27b9c8a1 100644 --- a/tests/testoutsetshadowdrawing.c +++ b/tests/testoutsetshadowdrawing.c @@ -108,7 +108,10 @@ main (int argc, char **argv) box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 120); top = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 120); bottom = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 120); - g_object_set (box, "margin", 120, NULL); + gtk_widget_set_margin_start (box, 120); + gtk_widget_set_margin_end (box, 120); + gtk_widget_set_margin_top (box, 120); + gtk_widget_set_margin_bottom (box, 120); w = gtk_button_new (); gtk_widget_set_valign (w, GTK_ALIGN_CENTER); |