diff options
| author | Philip Brown <phil@bolthole.com> | 2010-10-16 16:16:51 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-01-24 14:19:23 -0500 |
| commit | d082572b17443b1e8a72d8b893d720e99aaf3dfe (patch) | |
| tree | 52f3f21e06cc967aa697c783a836858b8747ddfb /openbox/startupnotify.c | |
| parent | 9c356d370ab3e5a6b28e38ce8289d80bf35c8828 (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/startupnotify.c')
| -rw-r--r-- | openbox/startupnotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/startupnotify.c b/openbox/startupnotify.c index 16654cfd..e249002b 100644 --- a/openbox/startupnotify.c +++ b/openbox/startupnotify.c @@ -263,7 +263,7 @@ void sn_setup_spawn_environment(const gchar *program, const gchar *name, 20 * 1000, sn_launch_wait_timeout, sn_launcher, (GDestroyNotify)sn_launcher_context_unref); - setenv("DESKTOP_STARTUP_ID", id, TRUE); + g_setenv("DESKTOP_STARTUP_ID", id, TRUE); g_free(desc); } |
