[gnome-builder/wip/gtk4-port] libide/gui: drop D-Bus warning



commit aebc1fc908ec3c388f9fee4a2affb24634a3c904
Author: Christian Hergert <christian hergert me>
Date:   Thu May 5 10:26:05 2022 -0700

    libide/gui: drop D-Bus warning
    
    While you probably still want access to a D-Bus to do manu useful things,
    it shouldn't be as necessary as it was before since we are no longer using
    D-Bus for communicating with the worker processes.

 src/libide/gui/ide-application.c | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/src/libide/gui/ide-application.c b/src/libide/gui/ide-application.c
index b82e79ede..0cfa0e07f 100644
--- a/src/libide/gui/ide-application.c
+++ b/src/libide/gui/ide-application.c
@@ -122,14 +122,6 @@ ide_application_startup (GApplication *app)
   g_assert (IDE_IS_MAIN_THREAD ());
   g_assert (IDE_IS_APPLICATION (self));
 
-  /*
-   * We require a desktop session that provides a properly working
-   * D-Bus environment. Bail if for some reason that is not the case.
-   */
-  if (g_getenv ("DBUS_SESSION_BUS_ADDRESS") == NULL)
-    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);
 
   /* Setup access to private icons dir */


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