diff options
author | Philip Chimento <philip@endlessm.com> | 2016-12-15 14:09:49 -0800 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2016-12-19 15:20:58 -0800 |
commit | 76e5fd4d0fe23a97933185d64451c9ab4293b482 (patch) | |
tree | 888b1df5eda5213b648ba583b4a6ab27a4c51c22 /gtk/gtkapplication-dbus.c | |
parent | a2da4ddcebcf1c28f49d6a73d2a575be17be873e (diff) | |
download | gtk+-76e5fd4d0fe23a97933185d64451c9ab4293b482.tar.gz |
GtkApplication: Lack of optional components shouldn't warn
When running uninstalled tests with GtkApplication on an autobuilder with
a fake session bus, warnings will cause the tests to abort. The GNOME
session manager, the Xfce session manager, and the Inhibit portal are all
not needed for normal operation of GTK, so we should not log warnings if
they are not found.
As well as not being present on a fake session bus, it's also not
expected that they'll be present on all platforms.
https://bugzilla.gnome.org/show_bug.cgi?id=774784
Diffstat (limited to 'gtk/gtkapplication-dbus.c')
-rw-r--r-- | gtk/gtkapplication-dbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c index 6c2be716ee..3ad964ee57 100644 --- a/gtk/gtkapplication-dbus.c +++ b/gtk/gtkapplication-dbus.c @@ -192,7 +192,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl, if (error) { - g_warning ("Failed to get the GNOME session proxy: %s", error->message); + g_debug ("Failed to get the GNOME session proxy: %s", error->message); g_clear_error (&error); } @@ -210,7 +210,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl, if (error) { - g_warning ("Failed to get the Xfce session proxy: %s", error->message); + g_debug ("Failed to get the Xfce session proxy: %s", error->message); g_clear_error (&error); goto out; } @@ -329,7 +329,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl, &error); if (error) { - g_warning ("Failed to get an inhibit portal proxy: %s", error->message); + g_debug ("Failed to get an inhibit portal proxy: %s", error->message); g_clear_error (&error); } } |