[glibmm] Gio::AsyncResult: Added is_tagged().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::AsyncResult: Added is_tagged().
- Date: Thu, 21 Mar 2013 09:59:50 +0000 (UTC)
commit 1ee25ca5947964949376dcfe5c35862e05420e47
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Mar 21 10:59:39 2013 +0100
Gio::AsyncResult: Added is_tagged().
* gio/src/applicationcommandline.hg:
Wrapped the new g_async_result_is_tagged()
function.
ChangeLog | 8 ++++++++
gio/src/asyncresult.hg | 6 ++++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 091386f..bf51a2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2013-03-21 Murray Cumming <murrayc murrayc com>
+ Gio::AsyncResult: Added is_tagged().
+
+ * gio/src/applicationcommandline.hg:
+ Wrapped the new g_async_result_is_tagged()
+ function.
+
+2013-03-21 Murray Cumming <murrayc murrayc com>
+
Gio::ApplicationCommandLine: Added some methods.
* gio/src/applicationcommandline.hg:
diff --git a/gio/src/asyncresult.hg b/gio/src/asyncresult.hg
index 133d185..7705700 100644
--- a/gio/src/asyncresult.hg
+++ b/gio/src/asyncresult.hg
@@ -119,12 +119,18 @@ public:
Glib::RefPtr<Glib::ObjectBase> get_source_object_base();
Glib::RefPtr<const Glib::ObjectBase> get_source_object_base() const;
+ //TODO?: gboolean g_async_result_legacy_propagate_error (GAsyncResult *res, GError **error);
+
+ _WRAP_METHOD(bool is_tagged(gpointer source_tag) const, g_async_result_is_tagged)
+
// TODO: For some reason, the compiler cannot find an unwrap() for ObjectBase.
//#m4 _CONVERSION(`Glib::RefPtr<Glib::ObjectBase>',`GObject*',__CONVERT_REFPTR_TO_P)
#m4 _CONVERSION(`Glib::RefPtr<Glib::ObjectBase>',`GObject*',`unwrap_objectbase_custom($3)')
_WRAP_VFUNC(Glib::RefPtr<Glib::ObjectBase> get_source_object(),
"get_source_object")
+
+ //TODO: is_tagged() vfunc when we can break ABI.
};
} // namespace Gio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]