diff options
author | Don Scorgie <dscorgie@src.gnome.org> | 2006-01-25 11:13:12 +0000 |
---|---|---|
committer | Don Scorgie <dscorgie@src.gnome.org> | 2006-01-25 11:13:12 +0000 |
commit | f5296b481880f9a64408197abc949a359d2fe70c (patch) | |
tree | 417b6928365dc952b9764541fd2303cb09db26f7 /src | |
parent | 2619b597a98b5543311810ff73ab8a38207a9a5b (diff) | |
download | yelp-f5296b481880f9a64408197abc949a359d2fe70c.tar.gz |
Fix crash on opening 2nd instance, #328517
* src/yelp-main.c:
Fix crash on opening 2nd instance, #328517
Diffstat (limited to 'src')
-rw-r--r-- | src/yelp-main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yelp-main.c b/src/yelp-main.c index d40777b5..621b15bf 100644 --- a/src/yelp-main.c +++ b/src/yelp-main.c @@ -368,16 +368,16 @@ main (int argc, char **argv) GnomeClient *client; gboolean session_started = FALSE; const gchar **args; - gchar *startup_id; + gchar *local_id; bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); - startup_id = (gchar *) g_getenv ("DESKTOP_STARTUP_ID"); + local_id = (gchar *) g_getenv ("DESKTOP_STARTUP_ID"); - if (startup_id != NULL && *startup_id != '\0') { - startup_id = g_strdup (startup_id); + if (local_id != NULL && *local_id != '\0') { + startup_id = g_strdup (local_id); putenv ("DESKTOP_STARTUP_ID="); } |