[gimp] app: gimp_canvas_sample_point_set(): x and y are integers not doubles



commit 32c6177c1ecd3b3e90fe95f953af72baddfffed3
Author: Michael Natterer <mitch gimp org>
Date:   Sun Apr 3 23:42:26 2011 +0200

    app: gimp_canvas_sample_point_set(): x and y are integers not doubles

 app/display/gimpcanvassamplepoint.c |    4 ++--
 app/display/gimpcanvassamplepoint.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/display/gimpcanvassamplepoint.c b/app/display/gimpcanvassamplepoint.c
index 07685cf..e795823 100644
--- a/app/display/gimpcanvassamplepoint.c
+++ b/app/display/gimpcanvassamplepoint.c
@@ -342,8 +342,8 @@ gimp_canvas_sample_point_new (GimpDisplayShell *shell,
 
 void
 gimp_canvas_sample_point_set (GimpCanvasItem *sample_point,
-                              gdouble         x,
-                              gdouble         y)
+                              gint            x,
+                              gint            y)
 {
   g_return_if_fail (GIMP_IS_CANVAS_SAMPLE_POINT (sample_point));
 
diff --git a/app/display/gimpcanvassamplepoint.h b/app/display/gimpcanvassamplepoint.h
index f8e3002..67859c0 100644
--- a/app/display/gimpcanvassamplepoint.h
+++ b/app/display/gimpcanvassamplepoint.h
@@ -56,8 +56,8 @@ GimpCanvasItem * gimp_canvas_sample_point_new      (GimpDisplayShell *shell,
                                                     gboolean          sample_point_style);
 
 void             gimp_canvas_sample_point_set      (GimpCanvasItem   *sample_point,
-                                                    gdouble           x,
-                                                    gdouble           y);
+                                                    gint              x,
+                                                    gint              y);
 
 
 #endif /* __GIMP_CANVAS_SAMPLE_POINT_H__ */



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