comparison src/color-man.c @ 686:c0dda0ffb931

configure.in was rewritten: - uses PKG_CHECK_MODULES everywhere - added --enable-debug (enable debugging support) - added --enable-developer (developer mode, checks depreceated code ...) - removed obsoleted INCLUDES from Makefile.am Fixed src/debug.h (added glib.h). Fixed src/exiv2.c compilation with libexiv2 v0.15. Added src/trash.h to src/Makefile.am (fixed generating 'make dist').
author bruclik
date Mon, 19 May 2008 01:15:17 +0000
parents 8268cbe682f1
children 4fe8f9656107
comparison
equal deleted inserted replaced
685:f20e7cebcb12 686:c0dda0ffb931
19 19
20 20
21 #ifdef HAVE_LCMS 21 #ifdef HAVE_LCMS
22 /*** color support enabled ***/ 22 /*** color support enabled ***/
23 23
24 #ifdef HAVE_LCMS_LCMS_H 24 #include <lcms.h>
25 #include <lcms/lcms.h>
26 #else
27 #include <lcms.h>
28 #endif
29 25
30 26
31 typedef struct _ColorManCache ColorManCache; 27 typedef struct _ColorManCache ColorManCache;
32 struct _ColorManCache { 28 struct _ColorManCache {
33 cmsHPROFILE profile_in; 29 cmsHPROFILE profile_in;
429 void color_man_update(void) 425 void color_man_update(void)
430 { 426 {
431 color_man_cache_reset(); 427 color_man_cache_reset();
432 } 428 }
433 429
434 #else 430 #else /* define HAVE_LCMS */
435 /*** color support not enabled ***/ 431 /*** color support not enabled ***/
436 432
437 433
438 ColorMan *color_man_new(ImageWindow *imd, GdkPixbuf *pixbuf, 434 ColorMan *color_man_new(ImageWindow *imd, GdkPixbuf *pixbuf,
439 ColorManProfileType input_type, const gchar *input_file, 435 ColorManProfileType input_type, const gchar *input_file,
469 void color_man_start_bg(ColorMan *cm, ColorManDoneFunc done_func, gpointer done_data) 465 void color_man_start_bg(ColorMan *cm, ColorManDoneFunc done_func, gpointer done_data)
470 { 466 {
471 /* no op */ 467 /* no op */
472 } 468 }
473 469
474 #endif 470 #endif /* define HAVE_LCMS */