Mercurial > geeqie
diff src/layout_image.c @ 1548:b5608391f479
support X11 screen profile
http://freedesktop.org/wiki/ICC_Profiles_in_X_Specification_0.3
| author | nadvornik |
|---|---|
| date | Mon, 13 Apr 2009 10:55:49 +0000 |
| parents | 2a3efbdf73b0 |
| children | 7302ff300a52 |
line wrap: on
line diff
--- a/src/layout_image.c Mon Apr 13 08:09:56 2009 +0000 +++ b/src/layout_image.c Mon Apr 13 10:55:49 2009 +0000 @@ -1059,21 +1059,21 @@ } void layout_image_color_profile_set(LayoutWindow *lw, - gint input_type, gint screen_type, + gint input_type, gboolean use_image) { if (!layout_valid(&lw)) return; - image_color_profile_set(lw->image, input_type, screen_type, use_image); + image_color_profile_set(lw->image, input_type, use_image); } gboolean layout_image_color_profile_get(LayoutWindow *lw, - gint *input_type, gint *screen_type, + gint *input_type, gboolean *use_image) { if (!layout_valid(&lw)) return FALSE; - return image_color_profile_get(lw->image, input_type, screen_type, use_image); + return image_color_profile_get(lw->image, input_type, use_image); } void layout_image_color_profile_set_use(LayoutWindow *lw, gboolean enable) @@ -1607,7 +1607,6 @@ layout_image_dnd_init(lw, i); image_color_profile_set(lw->split_images[i], options->color_profile.input_type, - options->color_profile.screen_type, options->color_profile.use_image); image_color_profile_set_use(lw->split_images[i], options->color_profile.enabled);
