gtk2/modules/printbackends
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
..
gtkcloudprintaccount.c Consolidate print backends into one directory 2018-03-11 12:38:35 -04:00
gtkcloudprintaccount.h Consolidate print backends into one directory 2018-03-11 12:38:35 -04:00
gtkcupssecretsutils.c Build print backends with common_cflags 2020-05-19 08:32:33 +02:00
gtkcupssecretsutils.h Consolidate print backends into one directory 2018-03-11 12:38:35 -04:00
gtkcupsutils.c Build print backends with common_cflags 2020-05-19 08:32:33 +02:00
gtkcupsutils.h Consolidate print backends into one directory 2018-03-11 12:38:35 -04:00
gtkprintbackendcloudprint.c modules: Fix build on Visual Studio 2020-06-05 11:16:45 +08:00
gtkprintbackendcloudprint.h Rename gtkprintbackend.h to gtkprintbackendprivate.h 2019-05-26 22:23:52 +00:00
gtkprintbackendcups.c modules: Fix build on Visual Studio 2020-06-05 11:16:45 +08:00
gtkprintbackendcups.h Rename gtkprintbackend.h to gtkprintbackendprivate.h 2019-05-26 22:23:52 +00:00
gtkprintbackendfile.c modules: Fix build on Visual Studio 2020-06-05 11:16:45 +08:00
gtkprintbackendfile.h Rename gtkprintbackend.h to gtkprintbackendprivate.h 2019-05-26 22:23:52 +00:00
gtkprintbackendlpr.c modules: Fix build on Visual Studio 2020-06-05 11:16:45 +08:00
gtkprintbackendlpr.h Rename gtkprintbackend.h to gtkprintbackendprivate.h 2019-05-26 22:23:52 +00:00
gtkprintercloudprint.c Consolidate print backends into one directory 2018-03-11 12:38:35 -04:00
gtkprintercloudprint.h Rename gtkprinter-private.h 2019-05-26 16:29:57 -04:00
gtkprintercups.c printing: Get PPD from original host if needed 2019-09-19 18:35:23 +02:00
gtkprintercups.h printing: Get PPD from original host if needed 2019-09-19 18:35:23 +02:00
meson.build modules: Fix build on Visual Studio 2020-06-05 11:16:45 +08:00