Merge branch 'master' into browser
[projects/chimara/chimara.git] / libchimara / chimara-if.c
index 596a433b6363fb8ad151ccd5635e83d05c013047..9b5d629d98473a5bb6de58c278771dd785105523 100644 (file)
 #include "chimara-marshallers.h"
 #include "init.h"
 
+#ifndef PLUGINDIR
+#define PLUGINDIR "."
+#endif
+
 /**
  * SECTION:chimara-if
  * @short_description: Widget which plays an interactive fiction game
@@ -675,7 +679,7 @@ chimara_if_run_game(ChimaraIF *self, const char *gamefile, GError **error)
        }
 
        /* Game file and external blorb file */
-       args = g_slist_prepend(args, gamefile);
+       args = g_slist_prepend(args, (gpointer)gamefile);
        if(priv->graphics_file
                && (interpreter == CHIMARA_IF_INTERPRETER_FROTZ || interpreter == CHIMARA_IF_INTERPRETER_NITFOL)
            && g_file_test(priv->graphics_file, G_FILE_TEST_EXISTS)) {