Author: abrander
Date: 2009-12-01 00:02:58 +0100 (Tue, 01 Dec 2009)
New Revision: 2769

Modified:
   trunk/librawstudio/rs-color-space.c
   trunk/librawstudio/rs-color-space.h
Log:
Changed rs_color_space_new_singleton() to return non-const to ease integration 
with the rest of GObject.

Modified: trunk/librawstudio/rs-color-space.c
===================================================================
--- trunk/librawstudio/rs-color-space.c 2009-11-30 19:43:15 UTC (rev 2768)
+++ trunk/librawstudio/rs-color-space.c 2009-11-30 23:02:58 UTC (rev 2769)
@@ -38,7 +38,7 @@
  * @param name The GType name for the colorspace (not the registered name)
  * @return A colorspace singleton if found, NULL otherwise. This should not be 
unreffed.
  */
-const RSColorSpace *
+RSColorSpace *
 rs_color_space_new_singleton(const gchar *name)
 {
        RSColorSpace *color_space = NULL;

Modified: trunk/librawstudio/rs-color-space.h
===================================================================
--- trunk/librawstudio/rs-color-space.h 2009-11-30 19:43:15 UTC (rev 2768)
+++ trunk/librawstudio/rs-color-space.h 2009-11-30 23:02:58 UTC (rev 2769)
@@ -95,7 +95,7 @@
  * @param name The GType name for the colorspace (not the registered name)
  * @return A colorspace singleton if found, NULL otherwise. This should not be 
unreffed.
  */
-const RSColorSpace *
+RSColorSpace *
 rs_color_space_new_singleton(const gchar *name);
 
 /**


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

Reply via email to