summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2010-07-29 00:26:57 +0200
committerMurray Cumming <murrayc@murrayc.com>2010-07-29 00:26:57 +0200
commit9efd91ed4735a4f073c04df22860a1aaa312716b (patch)
treef1991054df196002a3f1593d022f3e89495bf6e6 /tools
parent58136eecfa1de199d094c73d0be33dae04c775b7 (diff)
downloadglibmm-9efd91ed4735a4f073c04df22860a1aaa312716b.tar.gz
Added VariantType
* glib/src/filelist.am: * glib/src/varianttype.[hg|ccg]: Added VariantType, though we still need to wrap the _new_*() functions as create_*(). * tools/m4/convert_glib.m4: Added necessary conversions.
Diffstat (limited to 'tools')
-rw-r--r--tools/m4/convert_glib.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/m4/convert_glib.m4 b/tools/m4/convert_glib.m4
index 5bde0bbe..b704106a 100644
--- a/tools/m4/convert_glib.m4
+++ b/tools/m4/convert_glib.m4
@@ -79,3 +79,6 @@ _CONVERSION(`OptionGroup&',`GOptionGroup*',`($3).gobj()')
#_CONVERSION(`GOptionGroup*',`OptionGroup',`Glib::wrap(($3), true /* take_copy */)')
_CONVERSION(`Glib::KeyFile&',`GKeyFile*',`($3).gobj()')
+
+_CONVERSION(`const VariantType&',`const GVariantType*',`($3).gobj()')
+_CONVERSION(`const GVariantType*',`VariantType',`Glib::wrap(const_cast<GVariantType*>($3), true)')