summaryrefslogtreecommitdiff
path: root/glib/src/variant.hg
diff options
context:
space:
mode:
Diffstat (limited to 'glib/src/variant.hg')
-rw-r--r--glib/src/variant.hg3
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/src/variant.hg b/glib/src/variant.hg
index d1892cc4..1433fe3a 100644
--- a/glib/src/variant.hg
+++ b/glib/src/variant.hg
@@ -82,10 +82,13 @@ namespace Glib
class VariantBase
{
_CLASS_OPAQUE_COPYABLE(VariantBase, GVariant, NONE, g_variant_ref_sink, g_variant_unref)
+ _CUSTOM_CTOR_CAST
_IGNORE(g_variant_ref, g_variant_ref_sink, g_variant_unref,
g_variant_get, g_variant_get_va)
public:
+ VariantBase(GVariant* castitem, bool make_a_copy = false);
+
/** Replace the underlying GVariant.
* This is for use by methods that take a VariantBase& as an output
* parameter.