mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Fix an oversight in the previous commit
We don't want to unset DISPLAY etc, if none is specified in the app launch context.
This commit is contained in:
parent
6224d3d2ec
commit
a402875de1
@ -854,13 +854,9 @@ child_setup (gpointer user_data)
|
||||
|
||||
if (data->display)
|
||||
g_setenv ("DISPLAY", data->display, TRUE);
|
||||
else
|
||||
g_unsetenv ("DISPLAY");
|
||||
|
||||
if (data->sn_id)
|
||||
g_setenv ("DESKTOP_STARTUP_ID", data->sn_id, TRUE);
|
||||
else
|
||||
g_unsetenv ("DESKTOP_STARTUP_ID");
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user