diff options
author | Ole André Vadla Ravnås <oleavr@gmail.com> | 2021-06-07 13:31:11 +0200 |
---|---|---|
committer | Ole André Vadla Ravnås <oleavr@gmail.com> | 2021-06-07 13:57:59 +0200 |
commit | 92c4ae1c62b52ac6a54ab63e6f0f42e111dd11dc (patch) | |
tree | bd34f8c45453c226aa4ca83fa3a9ca5967210bf6 /gio/gdbusprivate.c | |
parent | b407d46c9ae7301f2c3788cf5beca9ac864b0d67 (diff) | |
download | glib-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.c | 2 |
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; |