Java: Use correct JNI function when calling Vector.add

This commit is contained in:
Marcus Comstedt 2016-12-06 21:00:25 +01:00
parent fef90b4101
commit e83a8f4958
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ namespace Glib {
for (auto entry : $1)
{
*(CValue **) &value = new CValue(entry);
jenv->CallObjectMethod($result, Vector_add,
jenv->CallBooleanMethod($result, Vector_add,
jenv->NewObject(Value, Value_init, value, true));
}
}