[glibmm] Gio::FileInfo: Added get_deletion_date().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::FileInfo: Added get_deletion_date().
- Date: Thu, 21 Mar 2013 10:51:48 +0000 (UTC)
commit 7cae174caae21b35c91e70de3da1b9667d185d74
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Mar 21 11:51:37 2013 +0100
Gio::FileInfo: Added get_deletion_date().
* glib/src/fileenumerator.hg: Wrap the new
g_file_info_get_deletion_date() function.
* tools/m4/convert_glib.m4: Add a necessary conversion.
ChangeLog | 8 ++++++++
gio/src/fileinfo.hg | 2 ++
tools/m4/convert_glib.m4 | 1 +
3 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5b05ea5..f34e8e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2013-03-21 Murray Cumming <murrayc murrayc com>
+ Gio::FileInfo: Added get_deletion_date().
+
+ * glib/src/fileenumerator.hg: Wrap the new
+ g_file_info_get_deletion_date() function.
+ * tools/m4/convert_glib.m4: Add a necessary conversion.
+
+2013-03-21 Murray Cumming <murrayc murrayc com>
+
Gio::FileEnumerator: Added get_child().
* glib/src/fileenumerator.hg: Wrap the new
diff --git a/gio/src/fileinfo.hg b/gio/src/fileinfo.hg
index de8a330..d75d849 100644
--- a/gio/src/fileinfo.hg
+++ b/gio/src/fileinfo.hg
@@ -18,6 +18,7 @@
*/
#include <glibmm/arrayhandle.h>
+#include <glibmm/datetime.h>
#include <glibmm/object.h>
#include <glibmm/timeval.h>
#include <giomm/fileattributeinfolist.h>
@@ -159,6 +160,7 @@ public:
// helper getters
+ _WRAP_METHOD(Glib::DateTime get_deletion_date() const, g_file_info_get_deletion_date)
_WRAP_METHOD(FileType get_file_type() const, g_file_info_get_file_type)
_WRAP_METHOD(bool is_hidden() const, g_file_info_get_is_hidden)
_WRAP_METHOD(bool is_backup() const, g_file_info_get_is_backup)
diff --git a/tools/m4/convert_glib.m4 b/tools/m4/convert_glib.m4
index 810d781..67fb4ce 100644
--- a/tools/m4/convert_glib.m4
+++ b/tools/m4/convert_glib.m4
@@ -104,6 +104,7 @@ _CONVERSION(`return-char*',`Glib::ustring',`Glib::convert_return_gchar_ptr_to_us
dnl DateTime
_CONVERSION(`GDateTime*',`DateTime',`Glib::wrap($3)')
+_CONVERSION(`GDateTime*',`Glib::DateTime',`Glib::wrap($3)')
_CONVERSION(`const DateTime&',`GDateTime*',`const_cast<$2>($3.gobj())')
dnl KeyFile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]