[gtk+/wip/cosimoc/range-gadget: 114/144] range: remove unused code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cosimoc/range-gadget: 114/144] range: remove unused code
- Date: Sat, 27 Feb 2016 21:39:35 +0000 (UTC)
commit de0a56444b118dad5888fdc54ed46803cd179d34
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Jan 17 17:27:03 2016 -0200
range: remove unused code
gtk/gtkrange.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 66b0b15..aa102b2 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -2310,7 +2310,6 @@ coord_to_value (GtkRange *range,
gint trough_length;
gint trough_start;
gint slider_length;
- gint trough_border;
if (priv->orientation == GTK_ORIENTATION_VERTICAL)
{
@@ -2325,8 +2324,6 @@ coord_to_value (GtkRange *range,
slider_length = priv->slider.width;
}
- gtk_range_get_props (range, NULL, NULL, &trough_border, NULL);
-
if (trough_length == slider_length)
frac = 1.0;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]