[gegl] gegl-init: Fix only returning GEGL_PATH for module directories
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-init: Fix only returning GEGL_PATH for module directories
- Date: Tue, 20 Jan 2015 17:28:43 +0000 (UTC)
commit 51621f9fb36d37556162ad514dc1492d84270d7e
Author: Jon Nordby <jononor gmail com>
Date: Tue Jan 20 18:27:42 2015 +0100
gegl-init: Fix only returning GEGL_PATH for module directories
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 caebbf1..1619fbb 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]