comparison src/main.c @ 1294:7ac9664242b2

histogram caching histogram interface prepared for histogram pane
author nadvornik
date Sun, 15 Feb 2009 13:11:21 +0000
parents 10073464e6aa
children 55ea4962887a
comparison
equal deleted inserted replaced
1293:48e064b37ba6 1294:7ac9664242b2
31 #include "cache_maint.h" 31 #include "cache_maint.h"
32 #include "thumb.h" 32 #include "thumb.h"
33 #include "metadata.h" 33 #include "metadata.h"
34 #include "editors.h" 34 #include "editors.h"
35 #include "exif.h" 35 #include "exif.h"
36 #include "histogram.h"
36 37
37 #include <gdk/gdkkeysyms.h> /* for keyboard values */ 38 #include <gdk/gdkkeysyms.h> /* for keyboard values */
38 39
39 #include <signal.h> 40 #include <signal.h>
40 #include <sys/mman.h> 41 #include <sys/mman.h>
741 setup_sigbus_handler(); 742 setup_sigbus_handler();
742 743
743 /* register global notify functions */ 744 /* register global notify functions */
744 file_data_register_notify_func(cache_notify_cb, NULL, NOTIFY_PRIORITY_HIGH); 745 file_data_register_notify_func(cache_notify_cb, NULL, NOTIFY_PRIORITY_HIGH);
745 file_data_register_notify_func(thumb_notify_cb, NULL, NOTIFY_PRIORITY_HIGH); 746 file_data_register_notify_func(thumb_notify_cb, NULL, NOTIFY_PRIORITY_HIGH);
747 file_data_register_notify_func(histogram_notify_cb, NULL, NOTIFY_PRIORITY_HIGH);
746 file_data_register_notify_func(collect_manager_notify_cb, NULL, NOTIFY_PRIORITY_LOW); 748 file_data_register_notify_func(collect_manager_notify_cb, NULL, NOTIFY_PRIORITY_LOW);
747 749
748 parse_command_line_for_debug_option(argc, argv); 750 parse_command_line_for_debug_option(argc, argv);
749 751
750 options = init_options(NULL); 752 options = init_options(NULL);