Nth time is the charm, apparently. Patch (against r1711) attached. Doesn't
seem to affect panview.
--xsdg
Index: src/img-view.c
===================================================================
--- src/img-view.c (revision 1711)
+++ src/img-view.c (working copy)
@@ -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(vw->imd, options->image.use_custom_border_color ? &options->image.border_color : NULL);
Index: src/image.c
===================================================================
--- src/image.c (revision 1711)
+++ src/image.c (working copy)
@@ -837,6 +837,13 @@
image_change_pixbuf(imd, pixbuf, zoom, FALSE);
g_object_unref(pixbuf);
}
+ else
+ {
+ if (imd->color_profile_enable)
+ {
+ image_post_process_color(imd, 0, FALSE); /* TODO: error handling */
+ }
+ }
}
image_update_util(imd);
@@ -1086,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)
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel