mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@10574 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f111559413
commit
8de005efd5
1 changed files with 0 additions and 7 deletions
|
|
@ -232,13 +232,9 @@ gnome_canvas_simplerect_init (GnomeCanvasSimpleRect *simplerect)
|
||||||
static void
|
static void
|
||||||
gnome_canvas_simplerect_destroy (GtkObject *object)
|
gnome_canvas_simplerect_destroy (GtkObject *object)
|
||||||
{
|
{
|
||||||
GnomeCanvasSimpleRect *rect;
|
|
||||||
|
|
||||||
g_return_if_fail (object != NULL);
|
g_return_if_fail (object != NULL);
|
||||||
g_return_if_fail (GNOME_IS_CANVAS_SIMPLERECT (object));
|
g_return_if_fail (GNOME_IS_CANVAS_SIMPLERECT (object));
|
||||||
|
|
||||||
rect = GNOME_CANVAS_SIMPLERECT (object);
|
|
||||||
|
|
||||||
/* remember, destroy can be run multiple times! */
|
/* remember, destroy can be run multiple times! */
|
||||||
|
|
||||||
if (GTK_OBJECT_CLASS (parent_class)->destroy)
|
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) cx;
|
||||||
(void) cy;
|
(void) cy;
|
||||||
|
|
||||||
GnomeCanvasSimpleRect *simplerect;
|
|
||||||
double x1, y1, x2, y2;
|
double x1, y1, x2, y2;
|
||||||
double dx, dy;
|
double dx, dy;
|
||||||
|
|
||||||
simplerect = GNOME_CANVAS_SIMPLERECT (item);
|
|
||||||
|
|
||||||
*actual_item = item;
|
*actual_item = item;
|
||||||
|
|
||||||
/* Find the bounds for the rectangle plus its outline width */
|
/* Find the bounds for the rectangle plus its outline width */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue