[gtk/wip/carlosg/fix-search-entry: 43/43] gtksearchentry: Forward captured events to the child GtkText



commit 4b4981f3fe53ea83853cf79d4be0b7e89806f0ff
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Feb 19 13:51:37 2019 +0100

    gtksearchentry: Forward captured events to the child GtkText
    
    Catch up with the GtkEditable shuffling.

 gtk/gtksearchentry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index f11f248545..3ef569c7d7 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -636,7 +636,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);
 
   if (priv->search_stopped)
     return GDK_EVENT_PROPAGATE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]