[gtk+] range: remove commented out code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] range: remove commented out code
- Date: Thu, 17 May 2012 13:42:51 +0000 (UTC)
commit fb968e6e740fe91af976d58140e6cdf5b08527fa
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed May 16 17:00:12 2012 -0400
range: remove commented out code
We wouldn't need any detail anyway, since we use a progressbar style
class for the progress part of GtkRange.
https://bugzilla.gnome.org/show_bug.cgi?id=676196
gtk/gtkrange.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 29384f7..981d700 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -2236,13 +2236,6 @@ gtk_range_draw (GtkWidget *widget,
fill_y += priv->trough.height - fill_height;
}
-#if 0
- if (fill_level < gtk_adjustment_get_upper (priv->adjustment) - gtk_adjustment_get_page_size (priv->adjustment))
- fill_detail = "trough-fill-level-full";
- else
- fill_detail = "trough-fill-level";
-#endif
-
gtk_render_activity (context, cr,
fill_x, fill_y,
fill_width, fill_height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]