mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +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;
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user