[gimp] libgimpwidgets: fix registration of GimpRuler's "unit" property
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: fix registration of GimpRuler's "unit" property
- Date: Sun, 14 Jun 2015 20:59:35 +0000 (UTC)
commit affef350e783b25f11c39a83861f3d018f85336d
Author: Michael Natterer <mitch gimp org>
Date: Sun Jun 14 22:57:46 2015 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpruler.c b/libgimpwidgets/gimpruler.c
index 5c8c96a..32d768f 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]