summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-simpleline.c
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-09-30 17:55:14 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-09-30 17:55:14 +0000
commit0938a42440cc82ce8d0cb064840c258c863714ab (patch)
tree19f58c31e65226d85c76d96647a6e300f7995c10 /gtk2_ardour/canvas-simpleline.c
parent15e390ebe5611b5443eb1fb57631826389ffd021 (diff)
fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-simpleline.c')
-rw-r--r--gtk2_ardour/canvas-simpleline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/canvas-simpleline.c b/gtk2_ardour/canvas-simpleline.c
index 887f71b411..39a1901f57 100644
--- a/gtk2_ardour/canvas-simpleline.c
+++ b/gtk2_ardour/canvas-simpleline.c
@@ -389,7 +389,7 @@ gnome_canvas_simpleline_render (GnomeCanvasItem *item,
}
static void
-gnome_canvas_simpleline_draw (GnomeCanvasItem *item,
+gnome_canvas_simpleline_draw (GnomeCanvasItem *canvas,
GdkDrawable *drawable,
int x, int y,
int width, int height)
@@ -414,7 +414,6 @@ gnome_canvas_simpleline_point (GnomeCanvasItem *item, double x, double y, int cx
(void) cx;
(void) cy;
- GnomeCanvasSimpleLine *simpleline;
double x1, y1, x2, y2;
double dx, dy;