Commit e93f4580 authored by Michael Natterer's avatar Michael Natterer 😴

libgimpwidgets: change disabled code in GimpRuler to avoid a warning

parent 8eb0dee0
......@@ -1432,10 +1432,8 @@ gimp_ruler_get_layout (GtkWidget *widget,
static const RulerMetric *
gimp_ruler_get_metric (GimpUnit unit)
{
#if 0
if (unit == GIMP_UNIT_INCH)
if (FALSE) /* unit == GIMP_UNIT_INCH */
return &ruler_metric_inches;
#endif
return &ruler_metric_decimal;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment