[gimp] libgimpbase: remove obsolete members from struct GimpPixPipeParams



commit 997730a69de24799957d52181d14936669c92c41
Author: Michael Natterer <mitch gimp org>
Date:   Wed Jul 24 02:22:47 2019 +0200

    libgimpbase: remove obsolete members from struct GimpPixPipeParams

 libgimpbase/gimpparasiteio.h | 45 ++++++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 25 deletions(-)
---
diff --git a/libgimpbase/gimpparasiteio.h b/libgimpbase/gimpparasiteio.h
index 9024b4813b..0ade6b44c8 100644
--- a/libgimpbase/gimpparasiteio.h
+++ b/libgimpbase/gimpparasiteio.h
@@ -42,36 +42,31 @@ typedef struct _GimpPixPipeParams GimpPixPipeParams;
 
 /**
  * GimpPixPipeParams:
- * @step:                  Step
- * @ncells:                Number of cells
- * @dim:                   Dimension
- * @cols:                  Columns
- * @rows:                  Rows
- * @cellwidth:             Cell width
- * @cellheight:            Cell height
- * @placement:             Placement
- * @free_placement_string: Unused, ignore
- * @rank:                  Rank
- * @selection:             Selection
- * @free_selection_string: Unused, ignore
+ * @step:       Step
+ * @ncells:     Number of cells
+ * @dim:        Dimension
+ * @cols:       Columns
+ * @rows:       Rows
+ * @cellwidth:  Cell width
+ * @cellheight: Cell height
+ * @placement:  Placement
+ * @rank:       Rank
+ * @selection:  Selection
  *
  * PLease somebody help documenting this.
  **/
 struct _GimpPixPipeParams
 {
-  gint      step;
-  gint      ncells;
-  gint      dim;
-  gint      cols;
-  gint      rows;
-  gint      cellwidth;
-  gint      cellheight;
-  gchar    *placement;
-  gboolean  free_placement_string;
-  gint      rank[GIMP_PIXPIPE_MAXDIM];
-  gchar    *selection[GIMP_PIXPIPE_MAXDIM];
-  /* this flag is now useless. All selection strings are allocated. */
-  gboolean  free_selection_string;
+  gint   step;
+  gint   ncells;
+  gint   dim;
+  gint   cols;
+  gint   rows;
+  gint   cellwidth;
+  gint   cellheight;
+  gchar *placement;
+  gint   rank[GIMP_PIXPIPE_MAXDIM];
+  gchar *selection[GIMP_PIXPIPE_MAXDIM];
 };
 
 /* Initialize with dummy values */


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