gtk-demo: Minimally fix the sarch entry demo

This was broken by the entry refactoring.
This commit is contained in:
Matthias Clasen 2019-03-03 12:42:20 -05:00
parent 4fe67310fb
commit 8ceff21497

View File

@ -246,7 +246,10 @@ do_search_entry (GtkWidget *do_widget)
gtk_container_add (GTK_CONTAINER (vbox), hbox);
/* Create our entry */
entry = gtk_search_entry_new ();
entry = gtk_entry_new ();
gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry),
GTK_ENTRY_ICON_PRIMARY,
"edit-find-symbolic");
gtk_container_add (GTK_CONTAINER (hbox), entry);
/* Create the find and cancel buttons */