Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@10537 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1a35363693
commit
11e907770a
@ -385,13 +385,9 @@ gnome_canvas_waveview_init (GnomeCanvasWaveView *waveview)
|
|||||||
static void
|
static void
|
||||||
gnome_canvas_waveview_destroy (GtkObject *object)
|
gnome_canvas_waveview_destroy (GtkObject *object)
|
||||||
{
|
{
|
||||||
GnomeCanvasWaveView *waveview;
|
|
||||||
|
|
||||||
g_return_if_fail (object != NULL);
|
g_return_if_fail (object != NULL);
|
||||||
g_return_if_fail (GNOME_IS_CANVAS_WAVEVIEW (object));
|
g_return_if_fail (GNOME_IS_CANVAS_WAVEVIEW (object));
|
||||||
|
|
||||||
waveview = GNOME_CANVAS_WAVEVIEW (object);
|
|
||||||
|
|
||||||
if (GTK_OBJECT_CLASS (parent_class)->destroy)
|
if (GTK_OBJECT_CLASS (parent_class)->destroy)
|
||||||
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
|
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
|
||||||
}
|
}
|
||||||
@ -1642,7 +1638,6 @@ gnome_canvas_waveview_draw (GnomeCanvasItem *item,
|
|||||||
int cache_index;
|
int cache_index;
|
||||||
gboolean rectify;
|
gboolean rectify;
|
||||||
double origin;
|
double origin;
|
||||||
double clip_length;
|
|
||||||
double xoff;
|
double xoff;
|
||||||
double yoff = 0.0;
|
double yoff = 0.0;
|
||||||
double ulx;
|
double ulx;
|
||||||
@ -1707,8 +1702,6 @@ gnome_canvas_waveview_draw (GnomeCanvasItem *item,
|
|||||||
rectify = FALSE;
|
rectify = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
clip_length = MIN(5,(waveview->height/4));
|
|
||||||
|
|
||||||
cr = gdk_cairo_create (drawable);
|
cr = gdk_cairo_create (drawable);
|
||||||
cairo_set_line_width (cr, 0.5);
|
cairo_set_line_width (cr, 0.5);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user