[glib] gdesktopappinfo: Downgrade a warning to a debug message



commit 181eb900d5c895ee27747a7fdbb285640cd90e43
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Nov 27 18:47:20 2017 +0000

    gdesktopappinfo: Downgrade a warning to a debug message
    
    Bug #786580 triggered this warning to show up in the appinfo tests if
    run on a machine where no terminal except xterm is installed (for
    example, a build machine). Since we didn’t warn before if xterm but no
    other terminals were installed, it seems reasonable to downgrade the
    warning to a debug message.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790914

 gio/gdesktopappinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index cb5ec48..7176271 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -2494,7 +2494,7 @@ prepend_terminal_to_vector (int    *argc,
       if (check == NULL)
         {
           check = g_strdup ("xterm");
-          g_warning ("couldn't find a terminal, falling back to xterm");
+          g_debug ("Couldn’t find a terminal: falling back to xterm");
         }
       term_argv[0] = check;
       term_argv[1] = g_strdup ("-e");


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