[gegl] operations: Remove duplicate extension registrations
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: Remove duplicate extension registrations
- Date: Tue, 11 May 2010 19:05:46 +0000 (UTC)
commit 7b7971d5c29eaffd58daa22ce62d2a4e361261f1
Author: Martin Nordholts <martinn src gnome org>
Date: Tue May 11 21:07:43 2010 +0200
operations: Remove duplicate extension registrations
We don't need both lowercase and uppercase versions, comparisions are
done case-independently now.
operations/common/raw-load.c | 3 ---
operations/external/exr-load.cpp | 1 -
operations/external/jpg-load.c | 2 --
operations/external/openraw.c | 6 ------
operations/external/png-load.c | 1 -
operations/external/ppm-load.c | 1 -
operations/external/svg-load.c | 2 --
7 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/operations/common/raw-load.c b/operations/common/raw-load.c
index 386c4d0..5caa372 100644
--- a/operations/common/raw-load.c
+++ b/operations/common/raw-load.c
@@ -161,11 +161,8 @@ gegl_chant_class_init (GeglChantClass *klass)
_("Raw image loader, wrapping dcraw with pipes.");
gegl_extension_handler_register (".raw", "gegl:raw-load");
- gegl_extension_handler_register (".RAW", "gegl:raw-load");
gegl_extension_handler_register (".raf", "gegl:raw-load");
- gegl_extension_handler_register (".RAF", "gegl:raw-load");
gegl_extension_handler_register (".nef", "gegl:raw-load");
- gegl_extension_handler_register (".NEF", "gegl:raw-load");
}
#endif
diff --git a/operations/external/exr-load.cpp b/operations/external/exr-load.cpp
index a599289..bd28569 100644
--- a/operations/external/exr-load.cpp
+++ b/operations/external/exr-load.cpp
@@ -664,7 +664,6 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->description = "EXR image loader.";
gegl_extension_handler_register (".exr", "gegl:exr-load");
- gegl_extension_handler_register (".EXR", "gegl:exr-load");
}
#endif
diff --git a/operations/external/jpg-load.c b/operations/external/jpg-load.c
index 3f8db28..e429708 100644
--- a/operations/external/jpg-load.c
+++ b/operations/external/jpg-load.c
@@ -218,9 +218,7 @@ gegl_chant_class_init (GeglChantClass *klass)
if (done)
return; */
gegl_extension_handler_register (".jpg", "gegl:jpg-load");
- gegl_extension_handler_register (".JPG", "gegl:jpg-load");
gegl_extension_handler_register (".jpeg", "gegl:jpg-load");
- gegl_extension_handler_register (".JPEG", "gegl:jpg-load");
/* done = TRUE; */
}
#endif
diff --git a/operations/external/openraw.c b/operations/external/openraw.c
index e3d0fd5..cfbbee9 100644
--- a/operations/external/openraw.c
+++ b/operations/external/openraw.c
@@ -186,17 +186,11 @@ gegl_chant_class_init (GeglChantClass *klass)
/* query libopenraw instead. need a new API */
gegl_extension_handler_register (".cr2", "gegl:openraw-load");
- gegl_extension_handler_register (".CR2", "gegl:openraw-load");
gegl_extension_handler_register (".crw", "gegl:openraw-load");
- gegl_extension_handler_register (".CRW", "gegl:openraw-load");
gegl_extension_handler_register (".erf", "gegl:openraw-load");
- gegl_extension_handler_register (".ERF", "gegl:openraw-load");
gegl_extension_handler_register (".mrw", "gegl:openraw-load");
- gegl_extension_handler_register (".MRW", "gegl:openraw-load");
gegl_extension_handler_register (".nef", "gegl:openraw-load");
- gegl_extension_handler_register (".NEF", "gegl:openraw-load");
gegl_extension_handler_register (".dng", "gegl:openraw-load");
- gegl_extension_handler_register (".DNG", "gegl:openraw-load");
done = TRUE;
}
diff --git a/operations/external/png-load.c b/operations/external/png-load.c
index 9404538..bfc6b59 100644
--- a/operations/external/png-load.c
+++ b/operations/external/png-load.c
@@ -435,7 +435,6 @@ gegl_chant_class_init (GeglChantClass *klass)
if (done)
return; */
gegl_extension_handler_register (".png", "gegl:png-load");
- gegl_extension_handler_register (".PNG", "gegl:png-load");
/* done = TRUE; */
}
diff --git a/operations/external/ppm-load.c b/operations/external/ppm-load.c
index 045f387..c2d923d 100644
--- a/operations/external/ppm-load.c
+++ b/operations/external/ppm-load.c
@@ -213,7 +213,6 @@ gegl_chant_class_init (GeglChantClass *klass)
operation_class->description = _("PPM image loader.");
gegl_extension_handler_register (".ppm", "gegl:ppm-load");
- gegl_extension_handler_register (".PPM", "gegl:ppm-load");
}
#endif
diff --git a/operations/external/svg-load.c b/operations/external/svg-load.c
index 9c65ac2..92325bf 100644
--- a/operations/external/svg-load.c
+++ b/operations/external/svg-load.c
@@ -247,9 +247,7 @@ gegl_chant_class_init (GeglChantClass *klass)
if (done)
return; */
gegl_extension_handler_register (".svg", "gegl:svg-load");
- gegl_extension_handler_register (".SVG", "gegl:svg-load");
gegl_extension_handler_register (".svgz", "gegl:svg-load");
- gegl_extension_handler_register (".SVGZ", "gegl:svg-load");
/* done = TRUE; */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]