Author: abrander
Date: 2009-12-28 02:15:18 +0100 (Mon, 28 Dec 2009)
New Revision: 2871

Modified:
   branches/rawstudio-ng-color/librawstudio/rs-filter.c
   branches/rawstudio-ng-color/librawstudio/rs-filter.h
Log:
Removed rs_filter_get_icc_profile().

Modified: branches/rawstudio-ng-color/librawstudio/rs-filter.c
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-filter.c        2009-12-28 
01:14:30 UTC (rev 2870)
+++ branches/rawstudio-ng-color/librawstudio/rs-filter.c        2009-12-28 
01:15:18 UTC (rev 2871)
@@ -314,26 +314,6 @@
 }
 
 /**
- * Get the ICC profile from a filter
- * @param filter A RSFilter
- * @return A RSIccProfile, must be unref'ed
- */
-extern RSIccProfile *rs_filter_get_icc_profile(RSFilter *filter)
-{
-       RSIccProfile *profile;
-       g_assert(RS_IS_FILTER(filter));
-
-       if (RS_FILTER_GET_CLASS(filter)->get_icc_profile && filter->enabled)
-               profile = RS_FILTER_GET_CLASS(filter)->get_icc_profile(filter);
-       else
-               profile = rs_filter_get_icc_profile(filter->previous);
-
-       g_assert(RS_IS_ICC_PROFILE(profile));
-
-       return profile;
-}
-
-/**
  * Get the returned width of a RSFilter
  * @param filter A RSFilter
  * @return Width in pixels

Modified: branches/rawstudio-ng-color/librawstudio/rs-filter.h
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-filter.h        2009-12-28 
01:14:30 UTC (rev 2870)
+++ branches/rawstudio-ng-color/librawstudio/rs-filter.h        2009-12-28 
01:15:18 UTC (rev 2871)
@@ -97,7 +97,6 @@
        const gchar *name;
        RSFilterFunc get_image;
        RSFilterFunc get_image8;
-       RSIccProfile *(*get_icc_profile)(RSFilter *filter);
        gint (*get_width)(RSFilter *filter);
        gint (*get_height)(RSFilter *filter);
        void (*previous_changed)(RSFilter *filter, RSFilter *parent, 
RSFilterChangedMask mask);
@@ -145,13 +144,6 @@
 extern RSFilterResponse *rs_filter_get_image8(RSFilter *filter, const 
RSFilterRequest *request);
 
 /**
- * Get the ICC profile from a filter
- * @param filter A RSFilter
- * @return A RSIccProfile, must be unref'ed
- */
-extern RSIccProfile *rs_filter_get_icc_profile(RSFilter *filter);
-
-/**
  * Get the returned width of a RSFilter
  * @param filter A RSFilter
  * @return Width in pixels


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to