From 09f8d3af90ff87434aff3c024fe71fce6edf7284 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Tue, 29 Apr 2008 12:10:07 +0000 Subject: [project @ fpeters@0d.be-20080408141317-mmjdku5wuegia6o3] merging benjamin Original author: Frederic Peters Date: 2008-04-08 16:13:17.010000+02:00 --- bindings/lang_java.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/lang_java.py b/bindings/lang_java.py index 64f7cd8c..d7619b00 100644 --- a/bindings/lang_java.py +++ b/bindings/lang_java.py @@ -526,7 +526,7 @@ protected static native void destroy(long cptr); print >> fd, ' g_free(%s);' % arg_name elif arg_type == 'GList*': if arg_options.get('elem_type') == 'char*': - print >> fd, ' free_glist(&%s, free);' % arg_name + print >> fd, ' free_glist(&%s, (GFunc)free);' % arg_name else: raise Exception('Freeing args of type list of \'%s\' not supported.' % arg_options.get('elem_type')) -- cgit