[gimp/multi-stroke: 22/28] 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: 22/28] app: no need to show the option frame for	the default (identity) symmetry.
- Date: Wed, 20 May 2015 11:03:16 +0000 (UTC)
commit 2e7ae9ac325e8473da3d03c0aded540a715c06d1
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 da7dd18..71b515f 100644
--- a/app/tools/gimppaintoptions-gui.c
+++ b/app/tools/gimppaintoptions-gui.c
@@ -697,6 +697,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]