gtk/modules/media
Chun-wei Fan acd9c12667 modules: Fix build on Visual Studio
Visual Studio does not allow decorating functions with '__declspec (dllexport)'
if a prototype exists and is not decorated with '__declspec (dllexport)' as
well, so we cannot just decorate g_io_module_[load|unload|query] in the various
module sources with G_MODULE_EXPORT because the prototypes of these functions
have been marked with _GLIB_EXTERN, which equates to 'extern' unless overridden

Fix this by overriding _GLIB_EXTERN with the appropriate visibility flag, as we
have used to define _GDK_EXTERN.  Unfortunately, we can't just use _GDK_EXTERN
G_MODULE_EXPORT as they may have not been defined yet for our use

Do this across the board for all modules, even if they are not buildable on
Visual Studio nor Windows, for consistency's sake.
2020-06-05 11:16:45 +08:00
..
gtkffmediafile.c ffmediafile: Add fixes for recent cflags changes 2020-06-03 16:23:49 +02:00
gtkffmediafileprivate.h
gtkgstmediafile.c modules: Fix build on Visual Studio 2020-06-05 11:16:45 +08:00
gtkgstmediafileprivate.h gtk: Add a GStreamer implementation of GtkMediaFile 2018-03-18 21:01:23 +01:00
gtkgstpaintable.c paintable: Introduce gdk_paintable_new_empty() 2018-04-05 14:56:39 +02:00
gtkgstpaintableprivate.h gtk: Add a GStreamer implementation of GtkMediaFile 2018-03-18 21:01:23 +01:00
gtkgstsink.c gtkmediafile: Don't leak all the images 2018-07-04 15:05:02 +02:00
gtkgstsinkprivate.h gtk: Add a GStreamer implementation of GtkMediaFile 2018-03-18 21:01:23 +01:00
meson.build modules: Fix build on Visual Studio 2020-06-05 11:16:45 +08:00