# HG changeset patch # User nadvornik # Date 1206785462 0 # Node ID ec068409bee7916e06b2422af2589ca015c3dcc2 # Parent 60c5eee29b8b11ad777674d4bf76dd392689aa78 fixed color management initialization diff -r 60c5eee29b8b -r ec068409bee7 src/layout_image.c --- a/src/layout_image.c Wed Mar 26 12:07:00 2008 +0000 +++ b/src/layout_image.c Sat Mar 29 10:11:02 2008 +0000 @@ -1618,13 +1618,13 @@ if (black_window_background) image_background_set_black(lw->split_images[i], TRUE); - image_auto_refresh(lw->image, 0); + image_auto_refresh(lw->split_images[i], 0); layout_image_dnd_init(lw, i); - image_color_profile_set(lw->image, + image_color_profile_set(lw->split_images[i], color_profile_input_type, color_profile_screen_type, color_profile_use_image); - image_color_profile_set_use(lw->image, color_profile_enabled); + image_color_profile_set_use(lw->split_images[i], color_profile_enabled); } return lw->split_images[i]->widget;