diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-02-17 16:13:58 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-02-19 00:25:59 -0500 |
commit | f1012b5623ccb1ff0b2f4592d584b3566f220643 (patch) | |
tree | fcd05b2547d4c010f47579222fd170ace48f3b04 /examples | |
parent | a0454e40253aff0a7a05d6ae3c2d806c27fd4c3e (diff) | |
download | gtk+-f1012b5623ccb1ff0b2f4592d584b3566f220643.tar.gz |
Fix the search bar example
More GtkSearchBar entry -> editable fixups.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/search-bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/search-bar.c b/examples/search-bar.c index cb84e9ce06..0a42a925ce 100644 --- a/examples/search-bar.c +++ b/examples/search-bar.c @@ -28,7 +28,7 @@ activate_cb (GtkApplication *app, menu_button = gtk_menu_button_new (); gtk_container_add (GTK_CONTAINER (box), menu_button); - gtk_search_bar_connect_entry (GTK_SEARCH_BAR (search_bar), GTK_ENTRY (entry)); + gtk_search_bar_connect_entry (GTK_SEARCH_BAR (search_bar), GTK_EDITABLE (entry)); gtk_search_bar_set_key_capture_widget (GTK_SEARCH_BAR (search_bar), window); } |