[gimp/multi-stroke] app: no need to show the option frame for the default (identity) symmetry.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/multi-stroke] app: no need to show the option frame for the default (identity) symmetry.
- Date: Wed, 25 Mar 2015 17:15:30 +0000 (UTC)
commit 01d30dc0d779d4e7733af89cdac7a4be819cb045
Author: Jehan <jehan girinstud io>
Date: Wed Mar 25 18:04:55 2015 +0100
app: no need to show the option frame for the default (identity) symmetry.
app/tools/gimppaintoptions-gui.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimppaintoptions-gui.c b/app/tools/gimppaintoptions-gui.c
index 60b736e..ab05797 100644
--- a/app/tools/gimppaintoptions-gui.c
+++ b/app/tools/gimppaintoptions-gui.c
@@ -687,6 +687,9 @@ gimp_paint_options_symmetry_ui (GimpSymmetry *sym,
if (! sym)
return;
+ if (sym->type == GIMP_TYPE_SYMMETRY)
+ return;
+
klass = g_type_class_ref (sym->type);
gtk_frame_set_label (GTK_FRAME (frame),
klass->label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]