From 1e3fe29fc3707e7844fce8e3761c3f12090d9158 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Wed, 27 Nov 2013 23:18:54 +0100 Subject: [PATCH] Fix g_win32_run_session_bus hook for MinGW-w64 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/gdbusaddress.c b/gio/gdbusaddress.c index b5143cfe8..2e9921587 100644 --- a/gio/gdbusaddress.c +++ b/gio/gdbusaddress.c @@ -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 -- 2.34.1