mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Fix the search bar example
More GtkSearchBar entry -> editable fixups.
This commit is contained in:
parent
a0454e4025
commit
f1012b5623
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user