[glibmm] Application: Remove bind/unbind_busy_property().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Application: Remove bind/unbind_busy_property().
- Date: Sun, 20 Sep 2015 15:05:47 +0000 (UTC)
commit 5669d4ea13a47604b277d7af2740f2c7d4856d9f
Author: Murray Cumming <murrayc murrayc com>
Date: Sun Sep 20 17:05:01 2015 +0200
Application: Remove bind/unbind_busy_property().
Leaving it commented out with a TODO, because I'm not sure if we
want to pass the ObjectBase by RefPtr, or not, or both. Let's leave this
until we have some use for it.
gio/src/application.hg | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 33a2249..d87efc3 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -354,9 +354,10 @@ public:
_WRAP_METHOD(void send_notification(const Glib::ustring& id{?}, const Glib::RefPtr<Notification>&
notification), g_application_send_notification)
_WRAP_METHOD(void withdraw_notification(const Glib::ustring& id), g_application_withdraw_notification)
-#m4 _CONVERSION(`const Glib::ObjectBase&', `gpointer', `const_cast<GObject*>(($3).gobj())')
- _WRAP_METHOD(void bind_busy_property(const Glib::ObjectBase& object, const Glib::ustring& property),
g_application_bind_busy_property)
- _WRAP_METHOD(void unbind_busy_property(const Glib::ObjectBase& object, const Glib::ustring& property),
g_application_unbind_busy_property)
+//TODO: Glib::RefPtr<Glib::ObjectBase>, Glib::ObjectBase, or both?
+//#m4 _CONVERSION(`const Glib::RefPtr<Glib::ObjectBase>&', `gpointer', `($3)->gobj()')
+// _WRAP_METHOD(void bind_busy_property(const Glib::RefPtr<Glib::ObjectBase>& object, const Glib::ustring&
property), g_application_bind_busy_property)
+// _WRAP_METHOD(void unbind_busy_property(const Glib::RefPtr<Glib::ObjectBase>& object, const
Glib::ustring& property), g_application_unbind_busy_property)
_WRAP_PROPERTY("action-group", Glib::RefPtr<ActionGroup>, deprecated "Use the Gio::ActionMap interface
instead.")
_WRAP_PROPERTY("application-id", Glib::ustring)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]