From d082572b17443b1e8a72d8b893d720e99aaf3dfe Mon Sep 17 00:00:00 2001 From: Philip Brown Date: Sat, 16 Oct 2010 16:16:51 -0400 Subject: 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. --- openbox/actions/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/actions/execute.c') 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); -- cgit v1.2.3