gstdvm: Fix GST_DVM_GET_STATIC_FIELD

This commit is contained in:
Youness Alaoui 2013-01-07 18:18:18 -05:00 committed by Nicolas Dufresne
parent 11b28224b5
commit 81c07b54cd

View file

@ -132,7 +132,7 @@
} }
#define GST_DVM_STATIC_FIELD(error_statement, type, k, field) \ #define GST_DVM_STATIC_FIELD(error_statement, type, k, field) \
(*env)->Get##type##Field (env, k.klass, k.field); \ (*env)->GetStatic##type##Field (env, k.klass, k.field); \
if ((*env)->ExceptionCheck (env)) { \ if ((*env)->ExceptionCheck (env)) { \
GST_ERROR ("Failed to get Java static field"); \ GST_ERROR ("Failed to get Java static field"); \
(*env)->ExceptionDescribe (env); \ (*env)->ExceptionDescribe (env); \