textview: Remove useless warning
authorTimm Bäder <mail@baedert.org>
Tue, 27 Aug 2019 07:33:54 +0000 (09:33 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 9 Sep 2019 15:36:25 +0000 (17:36 +0200)
The output doesn't make sense anymore and it breaks cursor blinking when
moving the focus back into the textview.

gtk/gtktextview.c

index 6d405df097965fa11994faf523e4094775c83d04..3e82f1858253a4fe80b2b5afd311ea7ad2f17357 100644 (file)
@@ -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));