Mercurial > geeqie.yaz
comparison src/image.c @ 327:049d6b00cc14
Rename color profile options.
author | zas_ |
---|---|
date | Sat, 12 Apr 2008 08:05:44 +0000 |
parents | c74af1cbd61a |
children | df868b947aa0 |
comparison
equal
deleted
inserted
replaced
326:509b84801d66 | 327:049d6b00cc14 |
---|---|
333 imd->color_profile_input <= COLOR_PROFILE_INPUTS) | 333 imd->color_profile_input <= COLOR_PROFILE_INPUTS) |
334 { | 334 { |
335 gint n; | 335 gint n; |
336 | 336 |
337 n = imd->color_profile_input - 1; | 337 n = imd->color_profile_input - 1; |
338 if (!options->color_profile_input_file[n]) return FALSE; | 338 if (!options->color_profile.input_file[n]) return FALSE; |
339 | 339 |
340 input_type = COLOR_PROFILE_FILE; | 340 input_type = COLOR_PROFILE_FILE; |
341 input_file = options->color_profile_input_file[n]; | 341 input_file = options->color_profile.input_file[n]; |
342 } | 342 } |
343 else if (imd->color_profile_input == 0) | 343 else if (imd->color_profile_input == 0) |
344 { | 344 { |
345 input_type = COLOR_PROFILE_SRGB; | 345 input_type = COLOR_PROFILE_SRGB; |
346 input_file = NULL; | 346 input_file = NULL; |
349 { | 349 { |
350 return FALSE; | 350 return FALSE; |
351 } | 351 } |
352 | 352 |
353 if (imd->color_profile_screen == 1 && | 353 if (imd->color_profile_screen == 1 && |
354 options->color_profile_screen_file) | 354 options->color_profile.screen_file) |
355 { | 355 { |
356 screen_type = COLOR_PROFILE_FILE; | 356 screen_type = COLOR_PROFILE_FILE; |
357 screen_file = options->color_profile_screen_file; | 357 screen_file = options->color_profile.screen_file; |
358 } | 358 } |
359 else if (imd->color_profile_screen == 0) | 359 else if (imd->color_profile_screen == 0) |
360 { | 360 { |
361 screen_type = COLOR_PROFILE_SRGB; | 361 screen_type = COLOR_PROFILE_SRGB; |
362 screen_file = NULL; | 362 screen_file = NULL; |