diff options
author | Jon Nordby <jononor@gmail.com> | 2015-01-20 18:27:42 +0100 |
---|---|---|
committer | Jon Nordby <jononor@gmail.com> | 2015-01-20 18:27:42 +0100 |
commit | 51621f9fb36d37556162ad514dc1492d84270d7e (patch) | |
tree | e6608209ac32ac39c64fcb90591234790cb82148 | |
parent | d5a2e82df7a10630507c1ee75f56019aa250bc8a (diff) |
gegl-init: Fix only returning GEGL_PATH for module directories
-rw-r--r-- | gegl/gegl-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gegl/gegl-init.c b/gegl/gegl-init.c index caebbf18..1619fbb7 100644 --- a/gegl/gegl-init.c +++ b/gegl/gegl-init.c @@ -584,7 +584,7 @@ gegl_get_default_module_paths(void) #else module_path = g_build_filename (LIBDIR, GEGL_LIBRARY, NULL); #endif - list = g_slist_append (list, g_strdup (gegl_path)); + list = g_slist_append (list, module_path); /* User data dir * ~/.local/share/gegl-x.y/plug-ins */ @@ -593,7 +593,7 @@ gegl_get_default_module_paths(void) "plug-ins", NULL); g_mkdir_with_parents (module_path, S_IRUSR | S_IWUSR | S_IXUSR); - list = g_slist_append (list, g_strdup (gegl_path)); + list = g_slist_append (list, module_path); return list; } |