summaryrefslogtreecommitdiff
path: root/openbox/actions/execute.c
diff options
context:
space:
mode:
authorPhilip Brown <phil@bolthole.com>2010-10-16 16:16:51 -0400
committerDana Jansens <danakj@orodu.net>2011-01-24 14:19:23 -0500
commitd082572b17443b1e8a72d8b893d720e99aaf3dfe (patch)
tree52f3f21e06cc967aa697c783a836858b8747ddfb /openbox/actions/execute.c
parent9c356d370ab3e5a6b28e38ce8289d80bf35c8828 (diff)
setenv and unsetenv dont exist in Solaris 9. (Fixes bug #4663)
Seeing as how you already use glib, I just substituted g_setenv and g_unsetenv as appropriate, and it now works for me.
Diffstat (limited to 'openbox/actions/execute.c')
-rw-r--r--openbox/actions/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c
index fdce77b7..380ffa00 100644
--- a/openbox/actions/execute.c
+++ b/openbox/actions/execute.c
@@ -260,7 +260,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
if (o->sn) {
if (!ok) sn_spawn_cancel();
- unsetenv("DESKTOP_STARTUP_ID");
+ g_unsetenv("DESKTOP_STARTUP_ID");
}
g_free(program);