13
0

Fix warnings.

git-svn-id: svn://localhost/ardour2/branches/3.0@10537 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-11-11 13:52:15 +00:00
parent 1a35363693
commit 11e907770a

View File

@ -385,13 +385,9 @@ gnome_canvas_waveview_init (GnomeCanvasWaveView *waveview)
static void
gnome_canvas_waveview_destroy (GtkObject *object)
{
GnomeCanvasWaveView *waveview;
g_return_if_fail (object != NULL);
g_return_if_fail (GNOME_IS_CANVAS_WAVEVIEW (object));
waveview = GNOME_CANVAS_WAVEVIEW (object);
if (GTK_OBJECT_CLASS (parent_class)->destroy)
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
@ -1642,7 +1638,6 @@ gnome_canvas_waveview_draw (GnomeCanvasItem *item,
int cache_index;
gboolean rectify;
double origin;
double clip_length;
double xoff;
double yoff = 0.0;
double ulx;
@ -1707,8 +1702,6 @@ gnome_canvas_waveview_draw (GnomeCanvasItem *item,
rectify = FALSE;
}
clip_length = MIN(5,(waveview->height/4));
cr = gdk_cairo_create (drawable);
cairo_set_line_width (cr, 0.5);