On Wed, 2010-10-27 at 08:49 +0200, Guillaume Mazoyer wrote:
> org.gnome.glib.FatalError: (null)-CRITICAL
> Don't know what to do with signal return type gint
That's coming out of our code, src/jni/bindings_java_signal.c line 475
So you need to add G_TYPE_INT¹ there, except that right now 'I' is being
used to mark an enum return. So maybe change that returnType to 'E' or
something, and make 'I' your gint
You'll also need to change the code at line 571. Start there, in fact.
AfC
Granada
¹ but also see
bindings_java_type_lookup() in src/jni/bindings_java_type.c
and
bindings_java_typeToSignature() in src/jni_bindings_java_util.c
for other handling of GType to Java type conversions. And note that Java
long is GType G_TYPE_INT64
|