inspector: Update callback to GtkText shuffling

Instead of trying to access the GtkText, use GtkEditable API.
This commit is contained in:
Carlos Garnacho 2019-02-20 16:41:39 +01:00
parent 19bf937401
commit b741d36ced

View File

@ -508,7 +508,7 @@ on_search_changed (GtkSearchEntry *entry,
gint length;
gboolean backwards;
length = strlen (gtk_entry_get_text (GTK_ENTRY (entry)));
length = strlen (gtk_editable_get_text (GTK_EDITABLE (entry)));
backwards = length < sl->priv->search_length;
sl->priv->search_length = length;