From 42707ce91b515d932516b242524c12c038cb7f52 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 30 Oct 2008 21:16:12 +0100 Subject: [PATCH] fix an uncaught relay conversion --- test/swfdec_test_image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/swfdec_test_image.c b/test/swfdec_test_image.c index a988194b..7cea9618 100644 --- a/test/swfdec_test_image.c +++ b/test/swfdec_test_image.c @@ -174,7 +174,8 @@ swfdec_test_image_compare (SwfdecAsContext *cx, SwfdecAsObject *object, guint ar cairo_image_surface_get_stride (image->surface), cairo_image_surface_get_stride (compare->surface), cairo_image_surface_get_stride (diff->surface)) != 0) { - SWFDEC_AS_VALUE_SET_OBJECT (retval, SWFDEC_AS_OBJECT (diff)); + SWFDEC_AS_VALUE_SET_OBJECT (retval, + swfdec_as_relay_get_as_object (SWFDEC_AS_RELAY (diff))); } else { SWFDEC_AS_VALUE_SET_NULL (retval); } -- 2.11.4.GIT