[gimp/multi-stroke: 22/31] 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/31] app: no need to show the option frame for	the default (identity) symmetry.
 
- Date: Tue, 10 Nov 2015 19:36:38 +0000 (UTC)
 
commit 6ff8b813411957012f587acb8f7aa60cd3440918
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]