[gnome-builder] build: make D-Bus error a warning



commit 01505de082aa1a359838c862d06b7719608ff269
Author: Christian Hergert <chergert redhat com>
Date:   Mon Nov 23 15:58:28 2020 -0800

    build: make D-Bus error a warning
    
    This will allow us to run in more interesting places, even though we might
    have some breakage.

 src/libide/gui/ide-application.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/gui/ide-application.c b/src/libide/gui/ide-application.c
index efebb5a17..79d09d349 100644
--- a/src/libide/gui/ide-application.c
+++ b/src/libide/gui/ide-application.c
@@ -132,8 +132,8 @@ ide_application_startup (GApplication *app)
    * D-Bus environment. Bail if for some reason that is not the case.
    */
   if (g_getenv ("DBUS_SESSION_BUS_ADDRESS") == NULL)
-    g_error ("%s",
-             _("GNOME Builder requires a desktop session with D-Bus. Please set DBUS_SESSION_BUS_ADDRESS."));
+    g_warning ("%s",
+               _("GNOME Builder requires a session with D-Bus which was not found. Please set 
DBUS_SESSION_BUS_ADDRESS. Some features may not be available."));
 
   G_APPLICATION_CLASS (ide_application_parent_class)->startup (app);
 


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