Fix g_win32_run_session_bus hook for MinGW-w64
authorManuel Bachmann <tarnyko@tarnyko.net>
Wed, 27 Nov 2013 22:18:54 +0000 (23:18 +0100)
committerManuel Bachmann <tarnyko@tarnyko.net>
Wed, 27 Nov 2013 22:18:54 +0000 (23:18 +0100)
On win64, g_win32_run_session_bus gets exported with this
precise name, with MinGW as well as MSVC.

Fixes annoying "Entry not found" UI warning.

gio/gdbusaddress.c

index b5143cf..2e99215 100644 (file)
@@ -1406,6 +1406,8 @@ get_session_address_dbus_launch (GError **error)
 #else
          wcscat (args, L",_g_win32_run_session_bus@16");
 #endif
+#elif defined(_WIN64)
+         wcscat (args, L",g_win32_run_session_bus");
 #else
          wcscat (args, L",g_win32_run_session_bus@16");
 #endif