From d0a0d34643bcb540c47ee3ad1b6e37be1f00924f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 29 Oct 2008 21:31:34 +0100 Subject: [PATCH] COMPOSITE => OBJECT in swfdec_as_relay_call() --- swfdec/swfdec_as_relay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swfdec/swfdec_as_relay.c b/swfdec/swfdec_as_relay.c index 414ad29f..2123aa1f 100644 --- a/swfdec/swfdec_as_relay.c +++ b/swfdec/swfdec_as_relay.c @@ -107,9 +107,9 @@ swfdec_as_relay_call (SwfdecAsRelay *relay, const char *name, guint argc, if (return_value) SWFDEC_AS_VALUE_SET_UNDEFINED (return_value); swfdec_as_object_get_variable (relay->relay, name, &tmp); - if (!SWFDEC_AS_VALUE_IS_COMPOSITE (&tmp)) + if (!SWFDEC_AS_VALUE_IS_OBJECT (&tmp)) return FALSE; - fun = (SwfdecAsFunction *) (SWFDEC_AS_VALUE_GET_COMPOSITE (&tmp)->relay); + fun = (SwfdecAsFunction *) (SWFDEC_AS_VALUE_GET_OBJECT (&tmp)->relay); if (!SWFDEC_IS_AS_FUNCTION (fun)) return FALSE; swfdec_as_function_call (fun, relay->relay, argc, argv, return_value ? return_value : &tmp); -- 2.11.4.GIT