Whoops, chess-scene is not part of the convenience library, so that has
nothing to do with this issue. Totally wrong about that, sorry.

On Wed, 2016-01-27 at 08:39 +0100, Florian Weimer wrote:
> It seems that g_cclosure_user_marshal_ENUM__VOID invokes the callback
> with an int return value, but the registered callback
> (_chess_application_show_promotion_type_selector_chess_scene_choose_p
> romotion_type)
> has a return type of PieceType *.

Thank you Florian! I will move the upstream bug report to Vala. The
signal declaration in Vala is:

public signal PieceType? choose_promotion_type ();

I guess Vala got confused by the nullability of the return value. It
needs to use a different marshaller, or pass NULL to allow GLib to pick
the best marshaller.

https://bugzilla.gnome.org/show_bug.cgi?id=758816

Michael
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to