summaryrefslogtreecommitdiff
path: root/gtk/gtksearchentry.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2019-02-19 13:51:37 +0100
committerCarlos Garnacho <carlosg@gnome.org>2019-02-20 13:15:16 +0100
commitc739071d31e4f87a57bcd4776384aee8900187da (patch)
treef3e80f87058e20ebbbb915ecda173035167fe32e /gtk/gtksearchentry.c
parent120ee17e095190db9192a91065433f2945ebe2e8 (diff)
downloadgtk+-c739071d31e4f87a57bcd4776384aee8900187da.tar.gz
gtksearchentry: Forward captured events to the child GtkText
Catch up with the GtkEditable shuffling.
Diffstat (limited to 'gtk/gtksearchentry.c')
-rw-r--r--gtk/gtksearchentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index a73e32963d..930445f50d 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -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;
}