summaryrefslogtreecommitdiff
path: root/tests/testheaderbar.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-10-02 17:37:22 +0200
committerBenjamin Otte <otte@redhat.com>2016-10-16 18:17:21 +0200
commitf45dadadd00d892ba16dc081240987425bc32346 (patch)
tree181fc50993716de719c7d993c9d66bb7b2adb090 /tests/testheaderbar.c
parentc301357627172e4aeb3a7cb8d04fd5428d930df4 (diff)
downloadgtk+-f45dadadd00d892ba16dc081240987425bc32346.tar.gz
box: Remove 'padding' child property
Diffstat (limited to 'tests/testheaderbar.c')
-rw-r--r--tests/testheaderbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testheaderbar.c b/tests/testheaderbar.c
index d2b1a5ffa7..26a4d7200f 100644
--- a/tests/testheaderbar.c
+++ b/tests/testheaderbar.c
@@ -92,10 +92,10 @@ change_header (GtkButton *button, gpointer data)
g_object_set (box, "margin", 10, NULL);
gtk_container_add (GTK_CONTAINER (header), box);
label = gtk_label_new ("Label");
- gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE);
widget = gtk_level_bar_new ();
gtk_level_bar_set_value (GTK_LEVEL_BAR (widget), 0.4);
- gtk_box_pack_start (GTK_BOX (box), widget, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (box), widget, TRUE, TRUE);
gtk_widget_show_all (header);
}
else
@@ -161,12 +161,12 @@ main (int argc, char *argv[])
button = gtk_button_new_with_label ("Fullscreen");
gtk_action_bar_pack_end (GTK_ACTION_BAR (footer), button);
g_signal_connect (button, "clicked", G_CALLBACK (toggle_fullscreen), window);
- gtk_box_pack_end (GTK_BOX (box), footer, FALSE, FALSE, 0);
+ gtk_box_pack_end (GTK_BOX (box), footer, FALSE, FALSE);
content = gtk_image_new_from_icon_name ("start-here-symbolic", GTK_ICON_SIZE_DIALOG);
gtk_image_set_pixel_size (GTK_IMAGE (content), 512);
- gtk_box_pack_start (GTK_BOX (box), content, FALSE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (box), content, FALSE, TRUE);
gtk_widget_show_all (window);