summaryrefslogtreecommitdiff
path: root/tests/testentrycompletion.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-28 14:31:36 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-28 16:34:00 -0500
commit9e0c471b03c9c19e6f664ecacd17f2776f2004c6 (patch)
tree5f86c7276f4d76aaa6c0748f3d3a0db18346b5c7 /tests/testentrycompletion.c
parentdc282991c6611a77f0f1049750c3fd7b6d085bb3 (diff)
downloadgtk+-9e0c471b03c9c19e6f664ecacd17f2776f2004c6.tar.gz
entry, spin button: Drop redundant API
Avoid duplicating GtkEditable APIs. Port existing users.
Diffstat (limited to 'tests/testentrycompletion.c')
-rw-r--r--tests/testentrycompletion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testentrycompletion.c b/tests/testentrycompletion.c
index bc019d4841..3967c0bba6 100644
--- a/tests/testentrycompletion.c
+++ b/tests/testentrycompletion.c
@@ -279,7 +279,7 @@ match_selected_cb (GtkEntryCompletion *completion,
entry = gtk_entry_completion_get_entry (completion);
gtk_tree_model_get (GTK_TREE_MODEL (model), iter, 1, &str, -1);
- gtk_entry_set_text (GTK_ENTRY (entry), str);
+ gtk_editable_set_text (GTK_EDITABLE (entry), str);
gtk_editable_set_position (GTK_EDITABLE (entry), -1);
g_free (str);