[f-spot/FSPOT_0_6_0_STABLE] fix the crash if colormanagement is enabled



commit caadafa90e55969cde9e59166579243614d44f07
Author: Stephane Delcroix <stephane delcroix org>
Date:   Wed Aug 19 13:26:32 2009 +0200

    fix the crash if colormanagement is enabled

 src/Widgets/SlideShow.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Widgets/SlideShow.cs b/src/Widgets/SlideShow.cs
index 4d2270c..f8992a9 100644
--- a/src/Widgets/SlideShow.cs
+++ b/src/Widgets/SlideShow.cs
@@ -112,7 +112,9 @@ namespace FSpot.Widgets
 						}
 						Cms.Profile screen_profile;
 						if (FSpot.ColorManagement.Profiles.TryGetValue (Preferences.Get<string> (Preferences.COLOR_MANAGEMENT_DISPLAY_PROFILE), out screen_profile)) 
-							FSpot.ColorManagement.ApplyProfile (next, img.GetProfile (), screen_profile);
+							//FIXME: This makes the colormanagement to crash
+							//FSpot.ColorManagement.ApplyProfile (next, img.GetProfile (), screen_profile);
+							FSpot.ColorManagement.ApplyProfile (next, screen_profile);
 					} catch (Exception)
 					{}
 				}



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