libswfdec/swfdec_as_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: diff-tree b6f68c99b3532812e87e5bad2338cefa14121b8d (from b319db3cbe2ce11e2d2edcf27ad44d28fa22de47) Author: Benjamin Otte <otte at gnome.org> Date: Fri Aug 24 15:13:55 2007 +0200 cast the result, not all versions return a gpointer diff --git a/libswfdec/swfdec_as_context.c b/libswfdec/swfdec_as_context.c index b1b8efc..9403db4 100644 --- a/libswfdec/swfdec_as_context.c +++ b/libswfdec/swfdec_as_context.c @@ -460,7 +460,7 @@ swfdec_as_context_set_property (GObject switch (param_id) { case PROP_DEBUGGER: - context->debugger = g_value_dup_object (value); + context->debugger = SWFDEC_AS_DEBUGGER (g_value_dup_object (value)); break; case PROP_UNTIL_GC: context->memory_until_gc = g_value_get_ulong (value);