summaryrefslogtreecommitdiff
path: root/examples/application10/exampleappwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/application10/exampleappwin.c')
-rw-r--r--examples/application10/exampleappwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/application10/exampleappwin.c b/examples/application10/exampleappwin.c
index f1edb4360e..31f527b128 100644
--- a/examples/application10/exampleappwin.c
+++ b/examples/application10/exampleappwin.c
@@ -31,7 +31,7 @@ search_text_changed (GtkEntry *entry,
GtkTextBuffer *buffer;
GtkTextIter start, match_start, match_end;
- text = gtk_entry_get_text (entry);
+ text = gtk_editable_get_text (GTK_EDITABLE (entry));
if (text[0] == '\0')
return;
@@ -58,7 +58,7 @@ find_word (GtkButton *button,
const gchar *word;
word = gtk_button_get_label (button);
- gtk_entry_set_text (GTK_ENTRY (win->searchentry), word);
+ gtk_editable_set_text (GTK_EDITABLE (win->searchentry), word);
}
static void