mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
app chooser: Use editable api on search entry
This commit is contained in:
parent
f1012b5623
commit
7d9e63ae38
@ -362,7 +362,7 @@ construct_appchooser_widget (GtkAppChooserDialog *self)
|
||||
g_object_unref (info);
|
||||
|
||||
_gtk_app_chooser_widget_set_search_entry (GTK_APP_CHOOSER_WIDGET (self->priv->app_chooser_widget),
|
||||
GTK_ENTRY (self->priv->search_entry));
|
||||
GTK_EDITABLE (self->priv->search_entry));
|
||||
|
||||
gtk_search_bar_set_key_capture_widget (GTK_SEARCH_BAR (self->priv->search_bar),
|
||||
GTK_WIDGET (self));
|
||||
|
@ -45,7 +45,7 @@ struct _GtkAppChooserIface {
|
||||
|
||||
void
|
||||
_gtk_app_chooser_widget_set_search_entry (GtkAppChooserWidget *self,
|
||||
GtkEntry *entry);
|
||||
GtkEditable *editable);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -1489,7 +1489,7 @@ gtk_app_chooser_widget_get_default_text (GtkAppChooserWidget *self)
|
||||
|
||||
void
|
||||
_gtk_app_chooser_widget_set_search_entry (GtkAppChooserWidget *self,
|
||||
GtkEntry *entry)
|
||||
GtkEditable *entry)
|
||||
{
|
||||
gtk_tree_view_set_search_entry (GTK_TREE_VIEW (self->priv->program_list), entry);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user