diff options
Diffstat (limited to 'x11/gdm/files/patch-daemon_gdm-wayland-session.c')
-rw-r--r-- | x11/gdm/files/patch-daemon_gdm-wayland-session.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/x11/gdm/files/patch-daemon_gdm-wayland-session.c b/x11/gdm/files/patch-daemon_gdm-wayland-session.c new file mode 100644 index 000000000000..03e60d4c6d91 --- /dev/null +++ b/x11/gdm/files/patch-daemon_gdm-wayland-session.c @@ -0,0 +1,36 @@ +--- daemon/gdm-wayland-session.c.orig 2023-09-14 15:27:04 UTC ++++ daemon/gdm-wayland-session.c +@@ -212,32 +212,7 @@ import_environment (State *state, + import_environment (State *state, + GCancellable *cancellable) + { +- g_autoptr(GVariant) reply = NULL; +- g_autoptr(GVariant) environment_variant = NULL; +- g_autoptr(GError) error = NULL; +- +- reply = g_dbus_connection_call_sync (state->bus_connection, +- "org.freedesktop.systemd1", +- "/org/freedesktop/systemd1", +- "org.freedesktop.DBus.Properties", +- "Get", +- g_variant_new ("(ss)", +- "org.freedesktop.systemd1.Manager", +- "Environment"), +- NULL, +- G_DBUS_CALL_FLAGS_NONE, +- -1, cancellable, &error); +- +- if (reply == NULL) { +- g_debug ("could not fetch environment: %s", error->message); +- return FALSE; +- } +- +- g_variant_get (reply, "(v)", &environment_variant); +- +- state->environment = g_variant_dup_strv (environment_variant, NULL); +- +- return TRUE; ++ return FALSE; + } + + static void |