summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2020-03-30 21:55:54 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2020-04-04 12:27:35 +0800
commitd7cbe3119f155e3f6d82d4dc205122bec8b69bf1 (patch)
treedd6cd053377c6567af7e50dc8a3f1badfbcf9191 /glib
parentb7d3de1a7964c5d4cc8386bf5583c72da5d07af9 (diff)
downloadglibmm-d7cbe3119f155e3f6d82d4dc205122bec8b69bf1.tar.gz
glib/src/*.hg: Mark _WRAP_ENUM with decl_prefix GLIBMM_API
This way we can mark the template<> classes that is generated via _WRAP_ENUM with GLIBMM_API, so that we can export those as well. Note that for this, the _WRAP_ENUM calls with NO_GTYPE specified do not need to be marked with decl_prefix GLIBMM_API as no template<> classes will be generated in this manner.
Diffstat (limited to 'glib')
-rw-r--r--glib/src/binding.hg2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/src/binding.hg b/glib/src/binding.hg
index 59a94624..52bbbdb6 100644
--- a/glib/src/binding.hg
+++ b/glib/src/binding.hg
@@ -103,7 +103,7 @@ class GLIBMM_API Binding : public Glib::Object
_CLASS_GOBJECT(Binding, GBinding, G_BINDING, Glib::Object, GObject, , , GLIBMM_API)
public:
- _WRAP_ENUM(Flags, GBindingFlags, newin "2,44")
+ _WRAP_ENUM(Flags, GBindingFlags, newin "2,44", decl_prefix GLIBMM_API)
/** A slot to be called to transform values in a binding created by
* bind_property_value().