[gimp] gimptool: Fix system script dir path



commit 4e056e79d25eed1ce2476de02d021f58e7cc2f0b
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Oct 4 18:11:29 2011 +0530

    gimptool: Fix system script dir path

 tools/gimptool.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tools/gimptool.c b/tools/gimptool.c
index 18cefb5..9593405 100644
--- a/tools/gimptool.c
+++ b/tools/gimptool.c
@@ -677,11 +677,11 @@ get_sys_script_dir (gboolean forward_slashes)
   const gchar slash = '/';
 #endif
 
-  return g_strdup_printf ("%s%cshare%cgimp%c%d.%d%cscripts",
-			  get_runtime_prefix (slash),
-			  slash, slash, slash,
-			  GIMP_MAJOR_VERSION, GIMP_MINOR_VERSION,
-			  slash);
+  return g_strdup_printf ("%s%cshare%cgimp%c%s%cscripts",
+                          get_runtime_prefix (slash),
+                          slash, slash, slash,
+                          GIMP_API_VERSION,
+                          slash);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]