[glib-networking/build.fixes: 2/2] gnome-proxy-module.c: Export the GIO module entry points
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/build.fixes: 2/2] gnome-proxy-module.c: Export the GIO module entry points
- Date: Thu, 7 Mar 2019 08:43:21 +0000 (UTC)
commit 90c4065a0d6eb1bc320aab808f5f857de89ae128
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Mar 7 16:39:04 2019 +0800
gnome-proxy-module.c: Export the GIO module entry points
As we could install gsettings-desktop-schemas and things work, we should
also make sure that the GNOME proxy module also works on Visual Studio
builds.
proxy/gnome/gnome-proxy-module.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/proxy/gnome/gnome-proxy-module.c b/proxy/gnome/gnome-proxy-module.c
index 497a740..b125810 100644
--- a/proxy/gnome/gnome-proxy-module.c
+++ b/proxy/gnome/gnome-proxy-module.c
@@ -26,7 +26,7 @@
#include "gproxyresolvergnome.h"
-void
+G_MODULE_EXPORT void
g_io_gnomeproxy_load (GIOModule *module)
{
gchar *locale_dir;
@@ -49,12 +49,12 @@ g_io_gnomeproxy_load (GIOModule *module)
g_free (locale_dir);
}
-void
+G_MODULE_EXPORT void
g_io_gnomeproxy_unload (GIOModule *module)
{
}
-gchar **
+G_MODULE_EXPORT gchar **
g_io_gnomeproxy_query (void)
{
gchar *eps[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]