diff src/layout.c @ 480:805c3258d228

Make histogram depends on image window not layout window. It simplifies the code, and make more sense.
author zas_
date Tue, 22 Apr 2008 08:34:30 +0000
parents 48c8e49b571c
children 75b7154e6435
line wrap: on
line diff
--- a/src/layout.c	Tue Apr 22 08:16:02 2008 +0000
+++ b/src/layout.c	Tue Apr 22 08:34:30 2008 +0000
@@ -1859,8 +1859,6 @@
 
 	gtk_widget_destroy(lw->window);
 
-	histogram_free(lw->histogram);
-
 	g_free(lw->path);
 
 	g_free(lw);
@@ -1906,8 +1904,6 @@
 	lw->bar_exif_size = -1;
 	lw->bar_exif_advanced = FALSE;
 
-	lw->histogram_enabled = FALSE;
-
 	/* default layout */
 
 	layout_config_parse(options->layout.style, options->layout.order,