summaryrefslogtreecommitdiff
path: root/gio/gdbusprivate.c
diff options
context:
space:
mode:
authorOle André Vadla Ravnås <oleavr@gmail.com>2021-06-07 13:31:11 +0200
committerOle André Vadla Ravnås <oleavr@gmail.com>2021-06-07 13:57:59 +0200
commit92c4ae1c62b52ac6a54ab63e6f0f42e111dd11dc (patch)
treebd34f8c45453c226aa4ca83fa3a9ca5967210bf6 /gio/gdbusprivate.c
parentb407d46c9ae7301f2c3788cf5beca9ac864b0d67 (diff)
downloadglib-92c4ae1c62b52ac6a54ab63e6f0f42e111dd11dc.tar.gz
gdbus, win32: Fix accidental dllexport in static builds
Should only dllexport g_win32_run_session_bus() when building a DLL.
Diffstat (limited to 'gio/gdbusprivate.c')
-rw-r--r--gio/gdbusprivate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gdbusprivate.c b/gio/gdbusprivate.c
index 282678f3b..7e62fa89e 100644
--- a/gio/gdbusprivate.c
+++ b/gio/gdbusprivate.c
@@ -2292,7 +2292,7 @@ turn_off_the_starting_cursor (void)
}
}
-__declspec(dllexport) void __stdcall
+void __stdcall
g_win32_run_session_bus (void* hwnd, void* hinst, const char* cmdline, int cmdshow)
{
GDBusDaemon *daemon;