Index: lib/platform/platform-win32.c
===================================================================
--- lib/platform/platform-win32.c	(revision 7642)
+++ lib/platform/platform-win32.c	(working copy)
@@ -49,7 +49,11 @@
 void
 gm_platform_init ()
 {
+#if GLIB_CHECK_VERSION (2, 18, 0)
+  basedir = g_strdup (g_win32_get_package_installation_directory_of_module (NULL));
+#else
   basedir = g_strdup (g_win32_get_package_installation_directory (NULL, NULL));
+#endif
   sysconfdir = g_strdup (basedir);
   datadir = g_strdup (basedir);
   plugindir = g_strdup_printf ("%s/lib/contacts", basedir);
