[gtk/text: 15/24] Fix the search bar example
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/text: 15/24] Fix the search bar example
- Date: Mon, 18 Feb 2019 05:04:59 +0000 (UTC)
commit 7d1d3cf93c9467bb77beb2a24130f75b67fc1f85
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]