summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-simplerect.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/canvas-simplerect.c')
-rw-r--r--gtk2_ardour/canvas-simplerect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/canvas-simplerect.c b/gtk2_ardour/canvas-simplerect.c
index 49f63603cf..7625bf9805 100644
--- a/gtk2_ardour/canvas-simplerect.c
+++ b/gtk2_ardour/canvas-simplerect.c
@@ -484,6 +484,8 @@ gnome_canvas_simplerect_update (GnomeCanvasItem *item, double *affine, ArtSVP *c
GnomeCanvasSimpleRect *simplerect;
unsigned char foo;
+ g_return_if_fail (clip_path != NULL);
+
simplerect = GNOME_CANVAS_SIMPLERECT (item);
if (parent_class->update)