[gtk/text: 18/26] Fix the search bar example
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/text: 18/26] Fix the search bar example
- Date: Sun, 17 Feb 2019 21:24:45 +0000 (UTC)
commit 3fc43305a1412a301990e657e39a6108bd9bcdd6
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Feb 17 16:13:58 2019 -0500
Fix the search bar example
More GtkSearchBar entry -> editable fixups.
examples/search-bar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]