Revision: 1738
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1738&view=rev
Author:   nadvornik
Date:     2009-06-09 19:12:37 +0000 (Tue, 09 Jun 2009)

Log Message:
-----------
enabled color management in img-view

patch by Omari Stephens

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

Modified: trunk/src/image.c
===================================================================
--- trunk/src/image.c   2009-06-09 19:08:52 UTC (rev 1737)
+++ trunk/src/image.c   2009-06-09 19:12:37 UTC (rev 1738)
@@ -1093,9 +1093,9 @@
 void image_change_pixbuf(ImageWindow *imd, GdkPixbuf *pixbuf, gdouble zoom, 
gboolean lazy)
 {
 
-
-       /* read_exif and similar functions can actually notice that the file 
has changed and triger a notification
-       that removes the pixbuf from cache and unref it. Therefore we must ref 
it here before it is taken over by the renderer. */
+       /* read_exif and similar functions can actually notice that the file 
has changed and trigger
+          a notification that removes the pixbuf from cache and unrefs it. 
Therefore we must ref it
+          here before it is taken over by the renderer. */
        if (pixbuf) g_object_ref(pixbuf); 
        
        if (imd->image_fd)

Modified: trunk/src/img-view.c
===================================================================
--- trunk/src/img-view.c        2009-06-09 19:08:52 UTC (rev 1737)
+++ trunk/src/img-view.c        2009-06-09 19:12:37 UTC (rev 1738)
@@ -847,6 +847,10 @@
        gtk_container_set_border_width(GTK_CONTAINER(vw->window), 0);
 
        vw->imd = image_new(FALSE);
+       image_color_profile_set(vw->imd,
+                               options->color_profile.input_type,
+                               options->color_profile.use_image);
+       image_color_profile_set_use(vw->imd, options->color_profile.enabled);
 
        image_background_set_color_from_options(vw->imd, FALSE);
 


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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to