[gegl] operations: more input from string to path params



commit e3c4e4c7768fb5a46cfecc7f5595b33fdfc03419
Author: Clayton Walker <clayton m walker gmail com>
Date:   Sat Oct 19 22:03:29 2013 -0600

    operations: more input from string to path params

 operations/external/exr-load.cpp |    2 +-
 operations/external/exr-save.cc  |    2 +-
 operations/external/jpg-save.c   |    4 ++--
 operations/external/npy-save.c   |    4 ++--
 operations/external/png-save.c   |    2 +-
 operations/external/ppm-save.c   |    4 ++--
 operations/external/rgbe-save.c  |    4 ++--
 operations/external/webp-save.c  |    2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/operations/external/exr-load.cpp b/operations/external/exr-load.cpp
index dcca02d..07fe80b 100644
--- a/operations/external/exr-load.cpp
+++ b/operations/external/exr-load.cpp
@@ -20,7 +20,7 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_string (path, "File", "", "Path of file to load.")
+gegl_chant_file_path (path, "File", "", "Path of file to load.")
 
 #else
 
diff --git a/operations/external/exr-save.cc b/operations/external/exr-save.cc
index e704359..72a72d9 100644
--- a/operations/external/exr-save.cc
+++ b/operations/external/exr-save.cc
@@ -18,7 +18,7 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_string  (path, "File", "", "path of file to write to.")
+gegl_chant_file_path  (path, "File", "", "path of file to write to.")
 gegl_chant_int  (tile, "Tile", 0, 2048, 0, "tile size to use.")
 
 #else
diff --git a/operations/external/jpg-save.c b/operations/external/jpg-save.c
index 6bbbbed..f5f06c0 100644
--- a/operations/external/jpg-save.c
+++ b/operations/external/jpg-save.c
@@ -22,8 +22,8 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_string (path, _("File"), "",
-                   _("Target path and filename, use '-' for stdout"))
+gegl_chant_file_path (path, _("File"), "",
+                      _("Target path and filename, use '-' for stdout"))
 gegl_chant_int    (quality, _("Quality"), 1, 100, 90,
                    _("JPEG compression quality (between 1 and 100)"))
 gegl_chant_int    (smoothing, _("Smoothing"),
diff --git a/operations/external/npy-save.c b/operations/external/npy-save.c
index 6e9cb5a..5838346 100644
--- a/operations/external/npy-save.c
+++ b/operations/external/npy-save.c
@@ -28,8 +28,8 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_string  (path, _("File"), "",
-                    _("Target path and filename, use '-' for stdout."))
+gegl_chant_file_path (path, _("File"), "",
+                      _("Target path and filename, use '-' for stdout."))
 
 #else
 
diff --git a/operations/external/png-save.c b/operations/external/png-save.c
index f62f53d..f192e26 100644
--- a/operations/external/png-save.c
+++ b/operations/external/png-save.c
@@ -24,7 +24,7 @@
 #ifdef GEGL_CHANT_PROPERTIES
 
 gegl_chant_file_path (path, _("File"), "",
-                   _("Target path and filename, use '-' for stdout."))
+                      _("Target path and filename, use '-' for stdout."))
 gegl_chant_int    (compression, _("Compression"),
                    1, 9, 1, _("PNG compression level from 1 to 9"))
 gegl_chant_int    (bitdepth, _("Bitdepth"),
diff --git a/operations/external/ppm-save.c b/operations/external/ppm-save.c
index 0230d2f..bed723a 100644
--- a/operations/external/ppm-save.c
+++ b/operations/external/ppm-save.c
@@ -22,8 +22,8 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_string  (path, _("File"), "",
-                    _("Target path and filename, use '-' for stdout."))
+gegl_chant_file_path  (path, _("File"), "",
+                       _("Target path and filename, use '-' for stdout."))
 gegl_chant_boolean (rawformat, _("Raw format"), TRUE, _("Raw format"))
 gegl_chant_int     (bitdepth, _("Bitdepth"),
                     8, 16, 16,
diff --git a/operations/external/rgbe-save.c b/operations/external/rgbe-save.c
index 1836121..7109554 100644
--- a/operations/external/rgbe-save.c
+++ b/operations/external/rgbe-save.c
@@ -23,8 +23,8 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_string  (path, _("File"), "",
-                    _("Target path and filename, use '-' for stdout."))
+gegl_chant_file_path (path, _("File"), "",
+                      _("Target path and filename, use '-' for stdout."))
 
 #else
 
diff --git a/operations/external/webp-save.c b/operations/external/webp-save.c
index 7242a9a..a5e2c26 100644
--- a/operations/external/webp-save.c
+++ b/operations/external/webp-save.c
@@ -22,7 +22,7 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_string (path, _("File"), "", _("Target file path."))
+gegl_chant_file_path (path, _("File"), "", _("Target file path."))
 
 gegl_chant_int    (quality, _("Quality"), 1, 100, 90,
                    _("WebP compression quality"))


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