From: Timm Bäder Date: Tue, 27 Aug 2019 07:33:54 +0000 (+0200) Subject: textview: Remove useless warning X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~924 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=14b7fa1dd655b9ee9db3189a4ea38963509c2daa;p=gtk4.git textview: Remove useless warning The output doesn't make sense anymore and it breaks cursor blinking when moving the focus back into the textview. --- diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 6d405df097..3e82f18582 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -5740,16 +5740,6 @@ blink_cb (GtkWidget *widget, float phase; float alpha; - if (!gtk_widget_has_focus (GTK_WIDGET (text_view))) - { - g_warning ("GtkTextView - did not receive a focus-out.\n" - "If you handle this event, you must return\n" - "GDK_EVENT_PROPAGATE so the text view gets the event as well"); - gtk_text_view_check_cursor_blink (text_view); - - return FALSE; - } - g_assert (priv->layout); g_assert (cursor_visible (text_view));