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
This commit is contained in:
Philip Withnall 2017-11-27 18:47:20 +00:00
parent 2cd26714e5
commit 181eb900d5

View File

@ -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 ("Couldnt find a terminal: falling back to xterm");
}
term_argv[0] = check;
term_argv[1] = g_strdup ("-e");