[gimp] app: hide double precision from File -> New and from templates
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: hide double precision from File -> New and from templates
- Date: Mon, 12 Dec 2016 10:54:34 +0000 (UTC)
commit 3710c0dd0cbbf96078f41db9612b1cc111cc965c
Author: Michael Natterer <mitch gimp org>
Date: Mon Dec 12 11:52:35 2016 +0100
app: hide double precision from File -> New and from templates
app/widgets/gimptemplateeditor.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimptemplateeditor.c b/app/widgets/gimptemplateeditor.c
index f5488fa..27988cb 100644
--- a/app/widgets/gimptemplateeditor.c
+++ b/app/widgets/gimptemplateeditor.c
@@ -408,7 +408,9 @@ gimp_template_editor_constructed (GObject *object)
combo, 1, FALSE);
combo = gimp_prop_enum_combo_box_new (G_OBJECT (template),
- "component-type", 0, 0);
+ "component-type",
+ GIMP_COMPONENT_TYPE_U8,
+ GIMP_COMPONENT_TYPE_FLOAT);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
_("_Precision:"), 0.0, 0.5,
combo, 1, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]