textview: Remove useless warning

The output doesn't make sense anymore and it breaks cursor blinking when
moving the focus back into the textview.
This commit is contained in:
Timm Bäder 2019-08-27 09:33:54 +02:00
parent 4bfe8605cb
commit 14b7fa1dd6

View 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));