[gimp/multi-stroke: 12/30] app: we switched to not initializing to 0/NULL/FALSE.



commit ccc448e22c68bbe7066d8d1282ea4579f77f134d
Author: Jehan <jehan girinstud io>
Date:   Sun Mar 22 00:51:33 2015 +0100

    app: we switched to not initializing to 0/NULL/FALSE.

 app/core/gimpsymmetry-mirror.c |    6 ------
 app/core/gimpsymmetry-tiling.c |    3 ---
 app/core/gimpsymmetry.c        |    4 ----
 3 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/app/core/gimpsymmetry-mirror.c b/app/core/gimpsymmetry-mirror.c
index 056947b..ee72596 100644
--- a/app/core/gimpsymmetry-mirror.c
+++ b/app/core/gimpsymmetry-mirror.c
@@ -149,12 +149,6 @@ gimp_mirror_class_init (GimpMirrorClass *klass)
 static void
 gimp_mirror_init (GimpMirror *mirror)
 {
-  mirror->horizontal_mirror = FALSE;
-  mirror->vertical_mirror   = FALSE;
-  mirror->point_symmetry    = FALSE;
-
-  mirror->horizontal_guide  = NULL;
-  mirror->vertical_guide    = NULL;
 }
 
 static void
diff --git a/app/core/gimpsymmetry-tiling.c b/app/core/gimpsymmetry-tiling.c
index 96fe1c8..e831062 100644
--- a/app/core/gimpsymmetry-tiling.c
+++ b/app/core/gimpsymmetry-tiling.c
@@ -127,9 +127,6 @@ gimp_tiling_class_init (GimpTilingClass *klass)
 static void
 gimp_tiling_init (GimpTiling *tiling)
 {
-  tiling->interval_x = 0.0;
-  tiling->interval_y = 0.0;
-  tiling->shift      = 0.0;
 }
 
 static void
diff --git a/app/core/gimpsymmetry.c b/app/core/gimpsymmetry.c
index 9685dc6..6592acb 100644
--- a/app/core/gimpsymmetry.c
+++ b/app/core/gimpsymmetry.c
@@ -130,10 +130,6 @@ gimp_symmetry_class_init (GimpSymmetryClass *klass)
 static void
 gimp_symmetry_init (GimpSymmetry *sym)
 {
-  sym->image    = NULL;
-  sym->drawable = NULL;
-  sym->origin   = NULL;
-  sym->strokes  = NULL;
   sym->type     = G_TYPE_NONE;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]