diff src/layout_image.c @ 426:9fe0ca1b5263

show the AdobeRGB profile in the menu, indicate input profile from image
author nadvornik
date Sat, 19 Apr 2008 17:55:41 +0000
parents 959b6fcdaa17
children 4b2d7f9af171
line wrap: on
line diff
--- a/src/layout_image.c	Sat Apr 19 17:14:03 2008 +0000
+++ b/src/layout_image.c	Sat Apr 19 17:55:41 2008 +0000
@@ -1305,6 +1305,13 @@
 	return image_color_profile_get_use(lw->image);
 }
 
+gint layout_image_color_profile_get_from_image(LayoutWindow *lw)
+{
+	if (!layout_valid(&lw)) return FALSE;
+
+	return image_color_profile_get_from_image(lw->image);
+}
+
 /*
  *----------------------------------------------------------------------------
  * list walkers