summaryrefslogtreecommitdiff
path: root/tests/testentrycompletion.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/testentrycompletion.c
parentc301357627172e4aeb3a7cb8d04fd5428d930df4 (diff)
downloadgtk+-f45dadadd00d892ba16dc081240987425bc32346.tar.gz
box: Remove 'padding' child property
Diffstat (limited to 'tests/testentrycompletion.c')
-rw-r--r--tests/testentrycompletion.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testentrycompletion.c b/tests/testentrycompletion.c
index 16f7f10832..a45c2c9886 100644
--- a/tests/testentrycompletion.c
+++ b/tests/testentrycompletion.c
@@ -310,7 +310,7 @@ main (int argc, char *argv[])
label = gtk_label_new (NULL);
gtk_label_set_markup (GTK_LABEL (label), "Completion demo, try writing <b>total</b> or <b>gnome</b> for example.");
- gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
/* Create our first entry */
entry = gtk_entry_new ();
@@ -395,23 +395,23 @@ main (int argc, char *argv[])
gdk_threads_add_timeout (1000, (GSourceFunc) animation_timer, completion);
/* Fourth entry */
- gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Model-less entry completion"), FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Model-less entry completion"), FALSE, FALSE);
entry = gtk_entry_new ();
/* Create the completion object */
completion = gtk_entry_completion_new ();
-
+
/* Assign the completion to the entry */
gtk_entry_set_completion (GTK_ENTRY (entry), completion);
g_object_unref (completion);
-
+
gtk_container_add (GTK_CONTAINER (vbox), entry);
gtk_widget_show_all (window);
gtk_main ();
-
+
return 0;
}