projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make MixerStrip's automation menu behave like a dropdown
[ardour.git]
/
gtk2_ardour
/
canvas-simplerect.c
diff --git
a/gtk2_ardour/canvas-simplerect.c
b/gtk2_ardour/canvas-simplerect.c
index e7cb522e82116928b9b57d681a56ba8a591e2a90..fe6e1855be03848cd092b7699c31b3032a8a3f52 100644
(file)
--- 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)
{
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));
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)
/* 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;
(void) cx;
(void) cy;
- GnomeCanvasSimpleRect *simplerect;
double x1, y1, x2, y2;
double dx, dy;
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 */
*actual_item = item;
/* Find the bounds for the rectangle plus its outline width */