diff src/image.c @ 616:d9c9d05c9d4d

Move overlay histogram stuff from ImageWindow to OverlayStateData. It simplifies things a lot and make more sense. Note: overlay icons display is broken since a long time it seems.
author zas_
date Fri, 09 May 2008 12:33:24 +0000
parents 905688aa2317
children 8268cbe682f1
line wrap: on
line diff
--- a/src/image.c	Fri May 09 11:15:56 2008 +0000
+++ b/src/image.c	Fri May 09 12:33:24 2008 +0000
@@ -1940,9 +1940,6 @@
 	file_data_unref(imd->image_fd);
 	g_free(imd->title);
 	g_free(imd->title_right);
-
-	if (imd->histogram) histogram_free(imd->histogram);
-
 	g_free(imd);
 }
 
@@ -2064,8 +2061,6 @@
 
 	imd->orientation = 1;
 
-	imd->histogram_enabled = FALSE; /* TODO: option */
-
 	imd->pr = GTK_WIDGET(pixbuf_renderer_new());
 
 	image_options_set(imd);