[gegl] operations: Use property_uri in jpg-load and png-load



commit 1a27a524aeac200f4e8c1ccf756f2c1317b681a8
Author: Jon Nordby <jononor gmail com>
Date:   Mon Jan 5 15:33:52 2015 +0100

    operations: Use property_uri in jpg-load and png-load

 operations/external/jpg-load.c |    3 +--
 operations/external/png-load.c |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/operations/external/jpg-load.c b/operations/external/jpg-load.c
index 2fa567c..d1daa59 100644
--- a/operations/external/jpg-load.c
+++ b/operations/external/jpg-load.c
@@ -23,8 +23,7 @@
 
 property_file_path (path, _("File"), "")
   description (_("Path of file to load"))
-
-property_string (uri, _("URI"), "") // TODO: use file_ui property type
+property_uri (uri, _("URI"), "")
   description (_("URI of file to load"))
 
 #else
diff --git a/operations/external/png-load.c b/operations/external/png-load.c
index b339370..c84e9c5 100644
--- a/operations/external/png-load.c
+++ b/operations/external/png-load.c
@@ -26,8 +26,7 @@
 
 property_file_path (path, _("File"), "")
   description (_("Path of file to load."))
-// TODO: use dedicated property spec for URI
-property_string (uri, _("URI"), "")
+property_uri (uri, _("URI"), "")
   description (_("URI for file to load."))
 
 #else


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