Mercurial > geeqie
diff src/rcfile.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 | 286ed7c6cae6 |
children | c776b1310ca6 |
line wrap: on
line diff
--- a/src/rcfile.c Mon Apr 13 08:09:56 2009 +0000 +++ b/src/rcfile.c Mon Apr 13 10:55:49 2009 +0000 @@ -450,11 +450,11 @@ #endif WRITE_NL(); WRITE_STRING("<color_profiles "); - WRITE_INT(options->color_profile, screen_type); WRITE_CHAR(options->color_profile, screen_file); WRITE_BOOL(options->color_profile, enabled); WRITE_BOOL(options->color_profile, use_image); WRITE_INT(options->color_profile, input_type); + WRITE_BOOL(options->color_profile, use_x11_screen_profile); WRITE_STRING(">"); indent++; @@ -714,8 +714,8 @@ if (READ_BOOL(options->color_profile, enabled)) continue; if (READ_BOOL(options->color_profile, use_image)) continue; if (READ_INT(options->color_profile, input_type)) continue; - if (READ_INT(options->color_profile, screen_type)) continue; if (READ_CHAR(options->color_profile, screen_file)) continue; + if (READ_BOOL(options->color_profile, use_x11_screen_profile)) continue; log_printf("unknown attribute %s = %s\n", option, value); }