mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
inspector: Update callback to GtkText shuffling
Instead of trying to access the GtkText, use GtkEditable API.
This commit is contained in:
parent
19bf937401
commit
b741d36ced
@ -508,7 +508,7 @@ on_search_changed (GtkSearchEntry *entry,
|
|||||||
gint length;
|
gint length;
|
||||||
gboolean backwards;
|
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;
|
backwards = length < sl->priv->search_length;
|
||||||
sl->priv->search_length = length;
|
sl->priv->search_length = length;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user