[gtk/peek-password-3: 2/2] entry: Don't warn if Caps Lock warning isn't shown



commit fe13226a796c4daa1a9245e00db5909e0ba0895f
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 15 19:26:39 2019 -0400

    entry: Don't warn if Caps Lock warning isn't shown
    
    This is a real possibility that there might be
    a peek icon in the position, and we don't want to
    spew warnings for that.

 gtk/gtkentry.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index a3141a26d7..dffbeac16e 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -10860,8 +10860,6 @@ show_capslock_feedback (GtkEntry    *entry,
 
   if (priv->caps_lock_warning_shown)
     gtk_entry_set_icon_tooltip_text (entry, GTK_ENTRY_ICON_SECONDARY, text);
-  else
-    g_warning ("Can't show Caps Lock warning, since secondary icon is set");
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]