From: Timm Bäder Date: Sat, 21 Apr 2018 13:45:47 +0000 (+0200) Subject: textview: Remove handling_key_event flag X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~441 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1a24a360bdc80520030482509e61fe192ae7ef34;p=gtk4.git textview: Remove handling_key_event flag It's not used anymore. --- diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index b0d53652be..77055a9cbf 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -276,8 +276,6 @@ struct _GtkTextViewPrivate guint cursor_handle_dragged : 1; guint selection_handle_dragged : 1; guint populate_all : 1; - - guint handling_key_event : 1; }; struct _GtkTextPendingScroll @@ -4967,8 +4965,6 @@ gtk_text_view_key_controller_key_pressed (GtkEventControllerKey *controller, if (priv->layout == NULL || get_buffer (text_view) == NULL) return FALSE; - priv->handling_key_event = TRUE; - /* Make sure input method knows where it is */ flush_update_im_spot_location (text_view); @@ -5019,8 +5015,6 @@ gtk_text_view_key_controller_key_pressed (GtkEventControllerKey *controller, gtk_text_view_selection_bubble_popup_unset (text_view); - priv->handling_key_event = FALSE; - return retval; }