[gimp] Made GimpCoords* parameter of GimpPaintCore::start() const.



commit 50199a542c445b755df2e78bee7d83bca958b4b8
Author: Michael Natterer <mitch imendio com>
Date:   Fri Apr 17 22:29:25 2009 +0200

    Made GimpCoords* parameter of GimpPaintCore::start() const.
    
    * app/paint/gimppaintcore.[ch]: made GimpCoords* parameter of
    GimpPaintCore::start() const.
    
    * app/paint/gimpbrushcore.c
    * app/paint/gimpclone.c
    * app/paint/gimpheal.c
    * app/paint/gimpperspectiveclone.c
    * app/paint/gimpsourcecore.c: changed accordingly.
---
 ChangeLog                        |   11 +++++++++++
 app/paint/gimpbrushcore.c        |    4 ++--
 app/paint/gimpclone.c            |    4 ++--
 app/paint/gimpheal.c             |    4 ++--
 app/paint/gimppaintcore.c        |    6 +++---
 app/paint/gimppaintcore.h        |    4 ++--
 app/paint/gimpperspectiveclone.c |    4 ++--
 app/paint/gimpsourcecore.c       |    4 ++--
 8 files changed, 26 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1a619ca..2cf30ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2009-04-16  Michael Natterer  <mitch gimp org>
+
+	* app/paint/gimppaintcore.[ch]: made GimpCoords* parameter of
+	GimpPaintCore::start() const.
+
+	* app/paint/gimpbrushcore.c
+	* app/paint/gimpclone.c
+	* app/paint/gimpheal.c
+	* app/paint/gimpperspectiveclone.c
+	* app/paint/gimpsourcecore.c: changed accordingly.
+
 2009-04-13  Tobias Mueller  <tobiasmue gnome org>
 
 	Bug 574972 â?? Grayscale profile should be removed in RGB/Indexed mode
diff --git a/app/paint/gimpbrushcore.c b/app/paint/gimpbrushcore.c
index 7a6a957..fe7f063 100644
--- a/app/paint/gimpbrushcore.c
+++ b/app/paint/gimpbrushcore.c
@@ -60,7 +60,7 @@ static void     gimp_brush_core_finalize           (GObject          *object);
 static gboolean gimp_brush_core_start              (GimpPaintCore    *core,
                                                     GimpDrawable     *drawable,
                                                     GimpPaintOptions *paint_options,
-                                                    GimpCoords       *coords,
+                                                    const GimpCoords *coords,
                                                     GError          **error);
 static gboolean gimp_brush_core_pre_paint          (GimpPaintCore    *core,
                                                     GimpDrawable     *drawable,
@@ -346,7 +346,7 @@ static gboolean
 gimp_brush_core_start (GimpPaintCore     *paint_core,
                        GimpDrawable      *drawable,
                        GimpPaintOptions  *paint_options,
-                       GimpCoords        *coords,
+                       const GimpCoords  *coords,
                        GError           **error)
 {
   GimpBrushCore *core = GIMP_BRUSH_CORE (paint_core);
diff --git a/app/paint/gimpclone.c b/app/paint/gimpclone.c
index 158a368..aa15b16 100644
--- a/app/paint/gimpclone.c
+++ b/app/paint/gimpclone.c
@@ -47,7 +47,7 @@
 static gboolean gimp_clone_start        (GimpPaintCore    *paint_core,
                                          GimpDrawable     *drawable,
                                          GimpPaintOptions *paint_options,
-                                         GimpCoords       *coords,
+                                         const GimpCoords *coords,
                                          GError          **error);
 
 static void     gimp_clone_motion       (GimpSourceCore   *source_core,
@@ -120,7 +120,7 @@ static gboolean
 gimp_clone_start (GimpPaintCore     *paint_core,
                   GimpDrawable      *drawable,
                   GimpPaintOptions  *paint_options,
-                  GimpCoords        *coords,
+                  const GimpCoords  *coords,
                   GError           **error)
 {
   GimpCloneOptions *options = GIMP_CLONE_OPTIONS (paint_options);
diff --git a/app/paint/gimpheal.c b/app/paint/gimpheal.c
index b3b296a..61166ac 100644
--- a/app/paint/gimpheal.c
+++ b/app/paint/gimpheal.c
@@ -53,7 +53,7 @@
 static gboolean     gimp_heal_start              (GimpPaintCore    *paint_core,
                                                   GimpDrawable     *drawable,
                                                   GimpPaintOptions *paint_options,
-                                                  GimpCoords       *coords,
+                                                  const GimpCoords *coords,
                                                   GError          **error);
 
 static void         gimp_heal_substitute_0_for_1 (PixelRegion      *pr);
@@ -136,7 +136,7 @@ static gboolean
 gimp_heal_start (GimpPaintCore     *paint_core,
                  GimpDrawable      *drawable,
                  GimpPaintOptions  *paint_options,
-                 GimpCoords        *coords,
+                 const GimpCoords  *coords,
                  GError           **error)
 {
   GimpSourceCore *source_core = GIMP_SOURCE_CORE (paint_core);
diff --git a/app/paint/gimppaintcore.c b/app/paint/gimppaintcore.c
index 8f1a539..b6b37a4 100644
--- a/app/paint/gimppaintcore.c
+++ b/app/paint/gimppaintcore.c
@@ -70,7 +70,7 @@ static void      gimp_paint_core_get_property        (GObject          *object,
 static gboolean  gimp_paint_core_real_start          (GimpPaintCore    *core,
                                                       GimpDrawable     *drawable,
                                                       GimpPaintOptions *paint_options,
-                                                      GimpCoords       *coords,
+                                                      const GimpCoords *coords,
                                                       GError          **error);
 static gboolean  gimp_paint_core_real_pre_paint      (GimpPaintCore    *core,
                                                       GimpDrawable     *drawable,
@@ -221,7 +221,7 @@ static gboolean
 gimp_paint_core_real_start (GimpPaintCore    *core,
                             GimpDrawable     *drawable,
                             GimpPaintOptions *paint_options,
-                            GimpCoords       *coords,
+                            const GimpCoords *coords,
                             GError          **error)
 {
   return TRUE;
@@ -331,7 +331,7 @@ gboolean
 gimp_paint_core_start (GimpPaintCore     *core,
                        GimpDrawable      *drawable,
                        GimpPaintOptions  *paint_options,
-                       GimpCoords        *coords,
+                       const GimpCoords  *coords,
                        GError           **error)
 {
   GimpItem *item;
diff --git a/app/paint/gimppaintcore.h b/app/paint/gimppaintcore.h
index b664f54..4b53cc2 100644
--- a/app/paint/gimppaintcore.h
+++ b/app/paint/gimppaintcore.h
@@ -73,7 +73,7 @@ struct _GimpPaintCoreClass
   gboolean   (* start)          (GimpPaintCore    *core,
                                  GimpDrawable     *drawable,
                                  GimpPaintOptions *paint_options,
-                                 GimpCoords       *coords,
+                                 const GimpCoords *coords,
                                  GError          **error);
 
   gboolean   (* pre_paint)      (GimpPaintCore    *core,
@@ -118,7 +118,7 @@ void      gimp_paint_core_paint                     (GimpPaintCore    *core,
 gboolean  gimp_paint_core_start                     (GimpPaintCore    *core,
                                                      GimpDrawable     *drawable,
                                                      GimpPaintOptions *paint_options,
-                                                     GimpCoords       *coords,
+                                                     const GimpCoords *coords,
                                                      GError          **error);
 void      gimp_paint_core_finish                    (GimpPaintCore    *core,
                                                      GimpDrawable     *drawable,
diff --git a/app/paint/gimpperspectiveclone.c b/app/paint/gimpperspectiveclone.c
index 8d6db43..cfb4880 100644
--- a/app/paint/gimpperspectiveclone.c
+++ b/app/paint/gimpperspectiveclone.c
@@ -55,7 +55,7 @@ static void     gimp_perspective_clone_finalize   (GObject          *object);
 static gboolean gimp_perspective_clone_start      (GimpPaintCore    *paint_core,
                                                    GimpDrawable     *drawable,
                                                    GimpPaintOptions *paint_options,
-                                                   GimpCoords       *coords,
+                                                   const GimpCoords *coords,
                                                    GError          **error);
 static void     gimp_perspective_clone_paint      (GimpPaintCore    *paint_core,
                                                    GimpDrawable     *drawable,
@@ -144,7 +144,7 @@ static gboolean
 gimp_perspective_clone_start (GimpPaintCore     *paint_core,
                               GimpDrawable      *drawable,
                               GimpPaintOptions  *paint_options,
-                              GimpCoords        *coords,
+                              const GimpCoords  *coords,
                               GError           **error)
 {
   GimpSourceCore *source_core = GIMP_SOURCE_CORE (paint_core);
diff --git a/app/paint/gimpsourcecore.c b/app/paint/gimpsourcecore.c
index 66b3ff6..4c5d43d 100644
--- a/app/paint/gimpsourcecore.c
+++ b/app/paint/gimpsourcecore.c
@@ -60,7 +60,7 @@ static void     gimp_source_core_get_property    (GObject          *object,
 static gboolean gimp_source_core_start           (GimpPaintCore    *paint_core,
                                                   GimpDrawable     *drawable,
                                                   GimpPaintOptions *paint_options,
-                                                  GimpCoords       *coords,
+                                                  const GimpCoords *coords,
                                                   GError          **error);
 static void     gimp_source_core_paint           (GimpPaintCore    *paint_core,
                                                   GimpDrawable     *drawable,
@@ -205,7 +205,7 @@ static gboolean
 gimp_source_core_start (GimpPaintCore     *paint_core,
                         GimpDrawable      *drawable,
                         GimpPaintOptions  *paint_options,
-                        GimpCoords        *coords,
+                        const GimpCoords  *coords,
                         GError           **error)
 {
   GimpSourceCore    *source_core = GIMP_SOURCE_CORE (paint_core);



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