diff options
author | Murray Cumming <murrayc@murrayc.com> | 2010-06-06 13:49:07 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2010-06-06 14:18:56 +0200 |
commit | ab8bbe35087e133d2c347612b6b18943675fd06e (patch) | |
tree | 5f591d9e77972482547914851d4b143cdfc46596 /gio/src/drive.hg | |
parent | d514876587ac7c44a9883c09225251bdd44bf33b (diff) | |
download | glibmm-ab8bbe35087e133d2c347612b6b18943675fd06e.tar.gz |
Remove default conversion to StringArrayHandle
* tools/m4/convert_gio.m4: Remove a default conversion from char** to
StringArrayHandle, because there can be no good default, because each use
can have different ownership, so it risks hiding an error.
* gio/src/drive.hg:
* gio/src/fileinfo.hg:
* gio/src/filenamecompleter.hg:
* gio/src/volume.hg: Add a local #m4 conversion instead.
One day we will have the new introspection information (with the ownership)
available to gmmproc so we don't need to do this.
Diffstat (limited to 'gio/src/drive.hg')
-rw-r--r-- | gio/src/drive.hg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/src/drive.hg b/gio/src/drive.hg index ddfe803c..872dd4d4 100644 --- a/gio/src/drive.hg +++ b/gio/src/drive.hg @@ -123,6 +123,8 @@ public: errthrow) _WRAP_METHOD(std::string get_identifier(const std::string& kind) const, g_drive_get_identifier) + + #m4 _CONVERSION(`char**',`Glib::StringArrayHandle',`Glib::StringArrayHandle($3, Glib::OWNERSHIP_DEEP)') _WRAP_METHOD(Glib::StringArrayHandle enumerate_identifiers() const, g_drive_enumerate_identifiers) /** @newin{2,22} */ |