diff 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
line wrap: on
line diff
--- a/src/main.c	Sun Feb 15 09:36:53 2009 +0000
+++ b/src/main.c	Sun Feb 15 13:11:21 2009 +0000
@@ -33,6 +33,7 @@
 #include "metadata.h"
 #include "editors.h"
 #include "exif.h"
+#include "histogram.h"
 
 #include <gdk/gdkkeysyms.h> /* for keyboard values */
 
@@ -743,6 +744,7 @@
 	/* register global notify functions */
 	file_data_register_notify_func(cache_notify_cb, NULL, NOTIFY_PRIORITY_HIGH);
 	file_data_register_notify_func(thumb_notify_cb, NULL, NOTIFY_PRIORITY_HIGH);
+	file_data_register_notify_func(histogram_notify_cb, NULL, NOTIFY_PRIORITY_HIGH);
 	file_data_register_notify_func(collect_manager_notify_cb, NULL, NOTIFY_PRIORITY_LOW);
 
 	parse_command_line_for_debug_option(argc, argv);