summaryrefslogtreecommitdiff
path: root/gio/src/converter.hg
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2012-09-06 16:52:01 -0400
committerJosé Alburquerque <jaalburqu@svn.gnome.org>2012-09-06 16:52:01 -0400
commitdfaacef0a1595dff7c158af79fda4ea2951e88fc (patch)
tree6f63fbcadebb8232ff875f7e77a3d8206541b721 /gio/src/converter.hg
parent629eb04ecce6d8b617292710bf4862169b693cca (diff)
downloadglibmm-dfaacef0a1595dff7c158af79fda4ea2951e88fc.tar.gz
Converter: Correct the "convert" virtual function.
* gio/src/converter.hg (convert_vfunc): Have the virtual function throw the final GError parameter of the C function instead of including it in the C++ parameter list. This is done by using the recently added _WRAP_VFUNC functionality.
Diffstat (limited to 'gio/src/converter.hg')
-rw-r--r--gio/src/converter.hg2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/src/converter.hg b/gio/src/converter.hg
index c34d13da..fbd92be0 100644
--- a/gio/src/converter.hg
+++ b/gio/src/converter.hg
@@ -51,7 +51,7 @@ public:
_WRAP_METHOD(void reset(), g_converter_reset)
#m4 _CONVERSION(`gsize*',`gsize&',`*($3)')
- _WRAP_VFUNC(ConverterResult convert(const void* inbuf, gsize inbuf_size, void* outbuf, gsize outbuf_size, ConverterFlags flags, gsize& bytes_read, gsize& bytes_written, GError** error), "convert")
+ _WRAP_VFUNC(ConverterResult convert(const void* inbuf, gsize inbuf_size, void* outbuf, gsize outbuf_size, ConverterFlags flags, gsize& bytes_read, gsize& bytes_written), "convert", errthrow)
_WRAP_VFUNC(void reset(), "reset")
};