[gtk/wip/baedert/for-master: 2/4] textview: Remove useless warning
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 2/4] textview: Remove useless warning
- Date: Wed, 28 Aug 2019 06:16:07 +0000 (UTC)
commit f160a0e57ea6258b03df4c2faf16c58f13617589
Author: Timm Bäder <mail baedert org>
Date: Tue Aug 27 09:33:54 2019 +0200
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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]