gtksearchentry: Forward captured events to the child GtkText

Catch up with the GtkEditable shuffling.
This commit is contained in:
Carlos Garnacho
2019-02-19 13:51:37 +01:00
parent 120ee17e09
commit c739071d31

View File

@@ -622,7 +622,7 @@ capture_widget_key_handled (GtkEventControllerKey *controller,
priv->content_changed = FALSE;
priv->search_stopped = FALSE;
handled = gtk_event_controller_key_forward (controller, entry);
handled = gtk_event_controller_key_forward (controller, priv->entry);
return handled && priv->content_changed && !priv->search_stopped ? GDK_EVENT_STOP : GDK_EVENT_PROPAGATE;
}