summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-10-18 08:21:53 +0200
committerMikael Magnusson <mikachu@comhem.se>2007-10-18 08:25:34 +0200
commit8cdf412aed60bd4c943281b2a6e577ed68f5ba18 (patch)
tree54b3d3a8a0946b58c9f875cfe3e497e1ed84d0b4 /openbox/openbox.c
parent556eb7b7fb20b3b0db03b6d92259ad3bb16dccde (diff)
Change setenv and unsetenv to putenv for portability.
Solaris apparently does not have setenv and unsetenv.
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 06afffc8..77bb0363 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -511,7 +511,7 @@ static void remove_args(gint *argc, gchar **argv, gint index, gint num)
static void parse_env()
{
/* unset this so we don't pass it on unknowingly */
- unsetenv("DESKTOP_STARTUP_ID");
+ putenv("DESKTOP_STARTUP_ID");
}
static void parse_args(gint *argc, gchar **argv)