projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43d19da
)
Fix g_win32_run_session_bus hook for MinGW-w64
author
Manuel Bachmann
<tarnyko@tarnyko.net>
Wed, 27 Nov 2013 22:18:54 +0000
(23:18 +0100)
committer
Manuel 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
patch
|
blob
|
history
diff --git
a/gio/gdbusaddress.c
b/gio/gdbusaddress.c
index b5143cfe89fa1aaae0fff6dd9f5214444b5fc6c2..2e99215872b548bfca5a3c338f08ec48830bf637 100644
(file)
--- 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