]> err.no Git - libchamplain/commitdiff
Fix the first parameter type in champlainperl_constructor_create()
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 15 Jun 2009 21:14:04 +0000 (23:14 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Mon, 15 Jun 2009 21:57:28 +0000 (17:57 -0400)
bindings/perl/Champlain/xs/ChamplainMapSourceFactory.xs

index 60228d2c22478ec626e81d325b5e1de9579a3726..a6d602afe2db9f49ca116c9d7a629144f7dc379b 100644 (file)
@@ -2,7 +2,10 @@
 
 static GPerlCallback*
 champlainperl_constructor_create (SV *func, SV *data) {
-       GType param_types[2] = { G_TYPE_POINTER, G_TYPE_POINTER, };
+       GType param_types[2] = {
+               CHAMPLAIN_TYPE_MAP_SOURCE_DESC,
+               G_TYPE_POINTER,
+       };
        return gperl_callback_new(func, data, 2, param_types, CHAMPLAIN_TYPE_MAP_SOURCE);
 }