diff options
author | Murray Cumming <murrayc@murrayc.com> | 2017-03-17 10:12:38 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2017-03-17 10:39:10 +0100 |
commit | 42b07b10b55fd6c1aba3b908889ca6ecab0b8992 (patch) | |
tree | 22b5f086b2e47ec5832cff6c619a79255d25ea33 /gio/src/fileinfo.hg | |
parent | b84a5d62528db68b67f17a8d4b4650f6d6226beb (diff) | |
download | glibmm-42b07b10b55fd6c1aba3b908889ca6ecab0b8992.tar.gz |
Use std::vector<> instead of Glib::StringArrayHandle.
Using Glib::ArrayHandler<>::vector_to_array() and
Glib::ArrayHandler<>::array_to_vector() instead, and only in the
implementatoin instead of in the API.
Diffstat (limited to 'gio/src/fileinfo.hg')
-rw-r--r-- | gio/src/fileinfo.hg | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gio/src/fileinfo.hg b/gio/src/fileinfo.hg index 6596e472..a1cbdf39 100644 --- a/gio/src/fileinfo.hg +++ b/gio/src/fileinfo.hg @@ -15,7 +15,6 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <glibmm/arrayhandle.h> #include <glibmm/datetime.h> #include <glibmm/object.h> #include <glibmm/timeval.h> @@ -96,8 +95,8 @@ public: _WRAP_METHOD(bool has_namespace(const std::string& name_space) const, g_file_info_has_namespace) - #m4 _CONVERSION(`char**',`Glib::StringArrayHandle',`Glib::StringArrayHandle($3, Glib::OWNERSHIP_DEEP)') - _WRAP_METHOD(Glib::StringArrayHandle list_attributes(const std::string& name_space{?}) const, + #m4 _CONVERSION(`char**',`std::vector<Glib::ustring>',`Glib::ArrayHandler<Glib::ustring>::array_to_vector($3, Glib::OWNERSHIP_DEEP)') + _WRAP_METHOD(std::vector<Glib::ustring> list_attributes(const std::string& name_space{?}) const, g_file_info_list_attributes) _WRAP_METHOD(FileAttributeType get_attribute_type(const std::string& attribute) const, |