From 14b7fa1dd655b9ee9db3189a4ea38963509c2daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 27 Aug 2019 09:33:54 +0200 Subject: [PATCH] textview: Remove useless warning The output doesn't make sense anymore and it breaks cursor blinking when moving the focus back into the textview. --- gtk/gtktextview.c | 10 ---------- 1 file changed, 10 deletions(-) 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));