From affef350e783b25f11c39a83861f3d018f85336d Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 14 Jun 2015 22:57:46 +0200 Subject: [PATCH] libgimpwidgets: fix registration of GimpRuler's "unit" property Install it with the PROP_UNIT id not PROP_LOWER (probably a copy & paste mess). Spotted by John Cuppit. --- libgimpwidgets/gimpruler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgimpwidgets/gimpruler.c b/libgimpwidgets/gimpruler.c index 5c8c96a039..32d768f10c 100644 --- a/libgimpwidgets/gimpruler.c +++ b/libgimpwidgets/gimpruler.c @@ -164,7 +164,7 @@ gimp_ruler_class_init (GimpRulerClass *klass) GIMP_PARAM_READWRITE)); g_object_class_install_property (object_class, - PROP_LOWER, + PROP_UNIT, gimp_param_spec_unit ("unit", "Unit", "Unit of ruler",