mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 23:28:54 +02: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:
@@ -854,13 +854,9 @@ child_setup (gpointer user_data)
|
|||||||
|
|
||||||
if (data->display)
|
if (data->display)
|
||||||
g_setenv ("DISPLAY", data->display, TRUE);
|
g_setenv ("DISPLAY", data->display, TRUE);
|
||||||
else
|
|
||||||
g_unsetenv ("DISPLAY");
|
|
||||||
|
|
||||||
if (data->sn_id)
|
if (data->sn_id)
|
||||||
g_setenv ("DESKTOP_STARTUP_ID", data->sn_id, TRUE);
|
g_setenv ("DESKTOP_STARTUP_ID", data->sn_id, TRUE);
|
||||||
else
|
|
||||||
g_unsetenv ("DESKTOP_STARTUP_ID");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Reference in New Issue
Block a user