~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to tools/gimp-remote-x11.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#include "config.h"
26
26
 
 
27
#include <stdlib.h>
27
28
#include <string.h>
28
 
#include <stdlib.h>
29
29
#include <errno.h>
30
30
 
31
31
#ifdef HAVE_UNISTD_H
163
163
  gint          i;
164
164
 
165
165
  if (startup_id)
166
 
    putenv (g_strdup_printf ("DESKTOP_STARTUP_ID=%s", startup_id));
 
166
    g_setenv ("DESKTOP_STARTUP_ID", startup_id, TRUE);
167
167
 
168
168
  if (file_list->len > 0)
169
169
    file_list = g_string_prepend (file_list, "\n");