mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
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:
parent
4bfe8605cb
commit
14b7fa1dd6
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user