aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2009-12-04 13:01:53 +0000
committerJoshua Lock <josh@linux.intel.com>2009-12-04 14:04:41 +0000
commite1a411c6423b8d42e71f1086a447ba4b56281ea7 (patch)
treed8af061e96fbeabc160210f68c8eab46cee93082
parentd9b3d6b2febf1d0e9ddb1ee83082d243053fb6c7 (diff)
downloadanjuta-poky-e1a411c6423b8d42e71f1086a447ba4b56281ea7.tar.gz
anjuta-poky-e1a411c6423b8d42e71f1086a447ba4b56281ea7.tar.bz2
anjuta-poky-e1a411c6423b8d42e71f1086a447ba4b56281ea7.zip
Fix a harmless compiler warning
-rw-r--r--src/plugin.c4
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);