summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/canvas-simplerect.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk2_ardour/canvas-simplerect.c b/gtk2_ardour/canvas-simplerect.c
index e7cb522e82..fe6e1855be 100644
--- a/gtk2_ardour/canvas-simplerect.c
+++ b/gtk2_ardour/canvas-simplerect.c
@@ -232,13 +232,9 @@ gnome_canvas_simplerect_init (GnomeCanvasSimpleRect *simplerect)
static void
gnome_canvas_simplerect_destroy (GtkObject *object)
{
- GnomeCanvasSimpleRect *rect;
-
g_return_if_fail (object != NULL);
g_return_if_fail (GNOME_IS_CANVAS_SIMPLERECT (object));
- rect = GNOME_CANVAS_SIMPLERECT (object);
-
/* remember, destroy can be run multiple times! */
if (GTK_OBJECT_CLASS (parent_class)->destroy)
@@ -847,12 +843,9 @@ gnome_canvas_simplerect_point (GnomeCanvasItem *item, double x, double y, int cx
(void) cx;
(void) cy;
- GnomeCanvasSimpleRect *simplerect;
double x1, y1, x2, y2;
double dx, dy;
- simplerect = GNOME_CANVAS_SIMPLERECT (item);
-
*actual_item = item;
/* Find the bounds for the rectangle plus its outline width */