summaryrefslogtreecommitdiff
path: root/tests/testframe.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-26 08:13:45 -0500
commit37a2cae10e365c2bd910cdba502023bfb56b8a42 (patch)
tree8db07175bf74b9c9fdbc295451a6241694ea0cbe /tests/testframe.c
parentb5bacb3be640a25eb7573090df6d1af6a9adcc7e (diff)
downloadgtk+-37a2cae10e365c2bd910cdba502023bfb56b8a42.tar.gz
Small fixups
Trying to get the ci style test to pass.
Diffstat (limited to 'tests/testframe.c')
-rw-r--r--tests/testframe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testframe.c b/tests/testframe.c
index e7ea521c40..63f8e6d195 100644
--- a/tests/testframe.c
+++ b/tests/testframe.c
@@ -153,10 +153,10 @@ int main (int argc, char **argv)
g_signal_connect (window, "destroy", G_CALLBACK (quit_cb), &done);
vbox = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 5));
- gtk_widget_set_margin_start (vbox, 12);
- gtk_widget_set_margin_end (vbox, 12);
- gtk_widget_set_margin_top (vbox, 12);
- gtk_widget_set_margin_bottom (vbox, 12);
+ gtk_widget_set_margin_start (GTK_WIDGET (vbox), 12);
+ gtk_widget_set_margin_end (GTK_WIDGET (vbox), 12);
+ gtk_widget_set_margin_top (GTK_WIDGET (vbox), 12);
+ gtk_widget_set_margin_bottom (GTK_WIDGET (vbox), 12);
gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (vbox));
frame = GTK_FRAME (gtk_frame_new ("Test GtkFrame"));