diff options
-rw-r--r-- | src/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c index 675164e..dfc43bb 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -932,7 +932,7 @@ get_host_component () static void update_path (AnjutaPluginSdk *sp) { - char *path = NULL; + const gchar *path; gchar *new_path_component = NULL; GArray *path_array = NULL; char **pathv = NULL; @@ -964,7 +964,7 @@ update_path (AnjutaPluginSdk *sp) } /* get current path. do not free */ - path = getenv ("PATH"); + path = g_getenv ("PATH"); /* split old path up */ pathv = g_strsplit (path, ":", -1); |