Revision: 1647
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1647&view=rev
Author:   nadvornik
Date:     2009-04-13 22:40:47 +0000 (Mon, 13 Apr 2009)

Log Message:
-----------
color profile fixes

Modified Paths:
--------------
    trunk/src/image.c

Modified: trunk/src/image.c
===================================================================
--- trunk/src/image.c   2009-04-13 14:39:50 UTC (rev 1646)
+++ trunk/src/image.c   2009-04-13 22:40:47 UTC (rev 1647)
@@ -243,7 +243,7 @@
                screen_type = COLOR_PROFILE_MEM;
                DEBUG_1("Using X11 screen profile, length: %d", 
screen_profile_len);
                }
-       if (options->color_profile.screen_file &&
+       else if (options->color_profile.screen_file &&
            is_readable_file(options->color_profile.screen_file))
                {
                screen_type = COLOR_PROFILE_FILE;
@@ -348,10 +348,10 @@
 #if 0
                if (run_in_bg) color_man_start_bg(imd->cm, 
image_post_process_color_cb, imd);
 #endif
-               return TRUE;
                }
 
-       return FALSE;
+       image_update_util(imd);
+       return !!cm;
 }
 
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to