summaryrefslogtreecommitdiffstats
path: root/bin/gui
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-07-22 11:05:22 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-07-22 11:05:22 +0200
commit032ee20f23304e1c67db97f3651052447c2e9bfd (patch)
treeeccfb91c7f327b5c53b2cc97db2358915b91eba9 /bin/gui
parent79953995d6be8ef572ab20576509c8daa86cabaf (diff)
downloaduca-032ee20f23304e1c67db97f3651052447c2e9bfd.tar.gz
uca-032ee20f23304e1c67db97f3651052447c2e9bfd.tar.bz2
uca-032ee20f23304e1c67db97f3651052447c2e9bfd.tar.xz
uca-032ee20f23304e1c67db97f3651052447c2e9bfd.zip
Remove obsolete code
Diffstat (limited to 'bin/gui')
-rw-r--r--bin/gui/egg-histogram-view.c6
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;
}