diff options
Diffstat (limited to 'bin/gui/egg-histogram-view.c')
-rw-r--r-- | bin/gui/egg-histogram-view.c | 6 |
1 files changed, 0 insertions, 6 deletions
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; } |