[Xfce4-commits] <terminal:master> Use glib function unset environment.

Nick Schermer noreply at xfce.org
Fri May 4 20:24:01 CEST 2012


Updating branch refs/heads/master
         to e377a692865f125a92c7c605d305af3a0b48cd77 (commit)
       from ca72c4e6df24ccb05ebcff083417e4a0e4db4fff (commit)

commit e377a692865f125a92c7c605d305af3a0b48cd77
Author: Nick Schermer <nick at xfce.org>
Date:   Fri May 4 20:21:52 2012 +0200

    Use glib function unset environment.

 terminal/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/terminal/main.c b/terminal/main.c
index 75124d9..9d9f17a 100644
--- a/terminal/main.c
+++ b/terminal/main.c
@@ -168,7 +168,7 @@ main (int argc, char **argv)
   if (G_LIKELY (startup_id != NULL))
     {
       nargv[nargc++] = g_strdup_printf ("--startup-id=%s", startup_id);
-      xfce_putenv ("DESKTOP_STARTUP_ID=");
+      g_unsetenv ("DESKTOP_STARTUP_ID");
     }
 
   /* append default display if given */


More information about the Xfce4-commits mailing list