mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
gdbus, win32: Fix accidental dllexport in static builds
Should only dllexport g_win32_run_session_bus() when building a DLL.
This commit is contained in:
parent
b407d46c9a
commit
92c4ae1c62
@ -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;
|
||||
|
@ -117,7 +117,7 @@ gchar *_g_dbus_win32_get_user_sid (void);
|
||||
* Initially this function was introduces for usage with rundll,
|
||||
* so the signature is kept rundll-compatible, though parameters aren't used.
|
||||
*/
|
||||
__declspec(dllexport) void __stdcall
|
||||
_GLIB_EXTERN void __stdcall
|
||||
g_win32_run_session_bus (void* hwnd, void* hinst, const char* cmdline, int cmdshow);
|
||||
gchar *_g_dbus_win32_get_session_address_dbus_launch (GError **error);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user