projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6224d3d
)
Fix an oversight in the previous commit
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 11 Jun 2009 16:41:16 +0000
(12:41 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 11 Jun 2009 16:41:16 +0000
(12:41 -0400)
We don't want to unset DISPLAY etc, if none is specified in the
app launch context.
gio/gdesktopappinfo.c
patch
|
blob
|
history
diff --git
a/gio/gdesktopappinfo.c
b/gio/gdesktopappinfo.c
index
e2f4d7f
..
f0a0bbc
100644
(file)
--- a/
gio/gdesktopappinfo.c
+++ b/
gio/gdesktopappinfo.c
@@
-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