use putenv(); setenv() isn't available everywhere (bug #137930).

2004-03-22  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: use putenv(); setenv() isn't available
	everywhere (bug #137930).
This commit is contained in:
Sven Neumann 2004-03-22 13:26:40 +00:00 committed by Sven Neumann
parent a666668ce8
commit 58df261e2b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-03-22 Sven Neumann <sven@gimp.org>
* tools/gimp-remote.c: use putenv(); setenv() isn't available
everywhere (bug #137930).
2004-03-22 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):

View File

@ -188,7 +188,7 @@ start_new_gimp (GdkScreen *screen,
gint i;
if (startup_id)
setenv ("DESKTOP_STARTUP_ID", startup_id, TRUE);
putenv (g_strdup_printf ("DESKTOP_STARTUP_ID=%s", startup_id));
if (file_list->len > 0)
file_list = g_string_prepend (file_list, "\n");