diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-06 17:31:29 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-08-06 17:32:41 -0400 |
commit | db023ba79a47fd4c3a688a992ced04f1db518df8 (patch) | |
tree | 37177f73ac9a2ad71066b8ac8390b278331defde | |
parent | 4e3251872c94eb51f2611a6077ac400aa903fd65 (diff) | |
download | gtk+-stop-blinking-without-moaning.tar.gz |
text: Don't warn if we blink unfocusedstop-blinking-without-moaning
The warning message contains advice that is no longer
accurate (it comes from a time before event controllers),
and this situation regularly happens in practice, when
the focus moves to a child of GtkText such as the menu or
the Emoji chooser. Just stop blinking without complaining.
Fixes: #2979
-rw-r--r-- | gtk/gtktext.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c index 4317654df1..35c31e19fd 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -6427,10 +6427,6 @@ blink_cb (GtkWidget *widget, if (!gtk_widget_has_focus (GTK_WIDGET (self))) { - g_warning ("GtkText - did not receive a focus-out event.\n" - "If you handle this event, you must return\n" - "GDK_EVENT_PROPAGATE so the self gets the event as well"); - gtk_text_check_cursor_blink (self); return G_SOURCE_REMOVE; } |