[gimp] app: serialize "draw mask" option of region-select tools
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: serialize "draw mask" option of region-select tools
- Date: Sun, 29 Apr 2018 11:22:43 +0000 (UTC)
commit 741c78ec9ebb4a0fe8652098d7103ad41aacf859
Author: Ell <ell_se yahoo com>
Date: Sun Apr 29 07:17:45 2018 -0400
app: serialize "draw mask" option of region-select tools
app/tools/gimpregionselectoptions.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/app/tools/gimpregionselectoptions.c b/app/tools/gimpregionselectoptions.c
index 62e4497..c6e3e2d 100644
--- a/app/tools/gimpregionselectoptions.c
+++ b/app/tools/gimpregionselectoptions.c
@@ -122,13 +122,12 @@ gimp_region_select_options_class_init (GimpRegionSelectOptionsClass *klass)
GIMP_SELECT_CRITERION_COMPOSITE,
GIMP_PARAM_STATIC_STRINGS);
- g_object_class_install_property (object_class, PROP_DRAW_MASK,
- g_param_spec_boolean ("draw-mask",
- _("Draw mask"),
- _("Draw the selected region's mask"),
- FALSE,
- G_PARAM_READWRITE |
- GIMP_PARAM_STATIC_STRINGS));
+ GIMP_CONFIG_PROP_BOOLEAN (object_class, PROP_DRAW_MASK,
+ "draw-mask",
+ _("Draw mask"),
+ _("Draw the selected region's mask"),
+ FALSE,
+ GIMP_PARAM_STATIC_STRINGS);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]