forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
01a3345c06
commit
fb968e6e74
@ -2236,13 +2236,6 @@ gtk_range_draw (GtkWidget *widget,
|
|||||||
fill_y += priv->trough.height - fill_height;
|
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,
|
gtk_render_activity (context, cr,
|
||||||
fill_x, fill_y,
|
fill_x, fill_y,
|
||||||
fill_width, fill_height);
|
fill_width, fill_height);
|
||||||
|
Loading…
Reference in New Issue
Block a user