X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=tests%2Fplugin-loader.c;h=0915b3c665e30a9b338f07a43f3386e909c482be;hb=5cee0eefebe5d0272bb108d9c3f2519ae80fee65;hp=ab47f8967dad72bc6a3f68d28327995a3d914d38;hpb=3ce5b9f501ea360ab84ee35f4ef0b1f1066dee9d;p=projects%2Fchimara%2Fchimara.git diff --git a/tests/plugin-loader.c b/tests/plugin-loader.c index ab47f89..0915b3c 100644 --- a/tests/plugin-loader.c +++ b/tests/plugin-loader.c @@ -100,7 +100,7 @@ main(int argc, char *argv[]) if(argc < 2) g_error("Must provide a plugin\n"); - chimara_glk_set_resource_load_callback(CHIMARA_GLK(glk), (ChimaraResourceLoadFunc)resource_load, NULL); + chimara_glk_set_resource_load_callback(CHIMARA_GLK(glk), (ChimaraResourceLoadFunc)resource_load, NULL, NULL); if( !chimara_glk_run(CHIMARA_GLK(glk), argv[1], argc - 1, argv + 1, &error) ) g_error("Error starting Glk library: %s\n", error->message);