diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2003-08-02 21:35:44 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-08-02 21:35:44 +0000 |
commit | 0df78ed774d18bb9ee9676cfb79a00eccbee741c (patch) | |
tree | fcb00c597922a9253e65d613d5862d146bdf58bf /gdk/x11 | |
parent | 88c1c94651750789dcad613ee8b09024df142ba2 (diff) | |
download | gdk-pixbuf-0df78ed774d18bb9ee9676cfb79a00eccbee741c.tar.gz |
Use g_setenv() instead of putenv().
Diffstat (limited to 'gdk/x11')
-rw-r--r-- | gdk/x11/gdkdisplay-x11.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index dea04722d..0de2d587e 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -764,10 +764,9 @@ _gdk_windowing_set_default_display (GdkDisplay *display) display_x11->startup_notification_id = g_strdup (startup_id); /* Clear the environment variable so it won't be inherited by - * child processes and confuse things. unsetenv isn't portable, - * right... + * child processes and confuse things. */ - putenv ("DESKTOP_STARTUP_ID="); + g_unsetenv ("DESKTOP_STARTUP_ID"); /* Set the startup id on the leader window so it * applies to all windows we create on this display |