From 032ee20f23304e1c67db97f3651052447c2e9bfd Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 22 Jul 2013 11:05:22 +0200 Subject: Remove obsolete code --- bin/gui/egg-histogram-view.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'bin') diff --git a/bin/gui/egg-histogram-view.c b/bin/gui/egg-histogram-view.c index 6e35f74..cad7fdf 100644 --- a/bin/gui/egg-histogram-view.c +++ b/bin/gui/egg-histogram-view.c @@ -131,15 +131,9 @@ egg_histogram_get_range (EggHistogramView *view, gdouble *max) { EggHistogramViewPrivate *priv; - GtkAllocation allocation; - gdouble width; g_return_if_fail (EGG_IS_HISTOGRAM_VIEW (view)); - - gtk_widget_get_allocation (GTK_WIDGET (view), &allocation); - width = (gdouble) allocation.width - 2 * BORDER; priv = view->priv; - *min = priv->min_value; *max = priv->max_value; } -- cgit v1.2.3