[gnome-photos] Drop PHOTOS_OPERATION_INSTA_PRESET_GRAY



commit 70d9fe4b45204d9287063da007c1d558b204530b
Author: Debarshi Ray <debarshir gnome org>
Date:   Sun Jan 24 03:46:13 2016 +0100

    Drop PHOTOS_OPERATION_INSTA_PRESET_GRAY
    
    Gray was mainly a placeholder because we didn't have an even number of
    magic filters. Now we have Hefe. Instagram Inkwell is considered to be
    the same as Gray, but it can also be achieved using the saturation
    tool. There is no need to have a magic filter for it.

 src/photos-operation-insta-common.h |    1 -
 src/photos-operation-insta-curve.c  |    1 -
 src/photos-operation-insta-filter.c |    7 -------
 3 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/photos-operation-insta-common.h b/src/photos-operation-insta-common.h
index 93e1205..137c793 100644
--- a/src/photos-operation-insta-common.h
+++ b/src/photos-operation-insta-common.h
@@ -29,7 +29,6 @@ typedef enum
   PHOTOS_OPERATION_INSTA_PRESET_1977,
   PHOTOS_OPERATION_INSTA_PRESET_BRANNAN,
   PHOTOS_OPERATION_INSTA_PRESET_GOTHAM,
-  PHOTOS_OPERATION_INSTA_PRESET_GRAY,
   PHOTOS_OPERATION_INSTA_PRESET_HEFE,
   PHOTOS_OPERATION_INSTA_PRESET_NASHVILLE
 } PhotosOperationInstaPreset;
diff --git a/src/photos-operation-insta-curve.c b/src/photos-operation-insta-curve.c
index fc03da4..aee55fc 100644
--- a/src/photos-operation-insta-curve.c
+++ b/src/photos-operation-insta-curve.c
@@ -667,7 +667,6 @@ photos_operation_insta_curve_prepare (GeglOperation *operation)
       break;
 
     case PHOTOS_OPERATION_INSTA_PRESET_NONE:
-    case PHOTOS_OPERATION_INSTA_PRESET_GRAY:
     case PHOTOS_OPERATION_INSTA_PRESET_HEFE:
     default:
       g_assert_not_reached ();
diff --git a/src/photos-operation-insta-filter.c b/src/photos-operation-insta-filter.c
index 2f60b76..76d5f92 100644
--- a/src/photos-operation-insta-filter.c
+++ b/src/photos-operation-insta-filter.c
@@ -104,13 +104,6 @@ photos_operation_insta_filter_setup (PhotosOperationInstaFilter *self)
       self->nodes = g_list_prepend (self->nodes, node);
       break;
 
-    case PHOTOS_OPERATION_INSTA_PRESET_GRAY:
-      node = gegl_node_new_child (operation->node,
-                                  "operation", "gegl:gray",
-                                  NULL);
-      self->nodes = g_list_prepend (self->nodes, node);
-      break;
-
     case PHOTOS_OPERATION_INSTA_PRESET_HEFE:
       node = gegl_node_new_child (operation->node,
                                   "operation", "photos:insta-hefe",


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