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.
This commit is contained in:
Michael Natterer 2015-06-14 22:57:46 +02:00
parent 5422646d91
commit affef350e7
1 changed files with 1 additions and 1 deletions

View File

@ -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",