summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-09-20 17:05:01 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-09-20 17:05:01 +0200
commit5669d4ea13a47604b277d7af2740f2c7d4856d9f (patch)
tree0b474058ef7dbc794f5d991892600c4eacf63bfb /gio
parent6259a46e8b7599df27adf7a21c943b0479b93bab (diff)
downloadglibmm-5669d4ea13a47604b277d7af2740f2c7d4856d9f.tar.gz
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.
Diffstat (limited to 'gio')
-rw-r--r--gio/src/application.hg7
1 files changed, 4 insertions, 3 deletions
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 33a22492..d87efc34 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)