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



commit c739071d31e4f87a57bcd4776384aee8900187da
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 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;
 }


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