summaryrefslogtreecommitdiff
path: root/gio/src/application.hg
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2010-11-14 23:29:35 -0500
committerJosé Alburquerque <jaalburqu@svn.gnome.org>2010-11-14 23:30:54 -0500
commit14eaf3223fa42bab37fc70112030f76b5f49e46c (patch)
tree8be6bd2c38d7133ee7dc30218259554214dbef1c /gio/src/application.hg
parent80a3a24529264df735b2eaf8414ffad072e0ad6f (diff)
downloadglibmm-14eaf3223fa42bab37fc70112030f76b5f49e46c.tar.gz
giomm: Provide non-cancellable overloads for newly added API.
* gio/src/application.hg: Completed a TODO. * gio/src/asyncinitable.hg (init_async): Refer to existing method docs in the non-cancellable version instead of duplicating docs. * gio/src/dbusconnection.{ccg,hg}: Add non-cancellable overloads of the constructors and create methods instead of having a default null Cancellable parameter. Renamed the synchronized create*() methods to create*_sync(). (get): Added a non-cancellable overload as above. * gio/src/dbusproxy.{ccg,hg}: Added non-cancellable overloads of the constructors and create methods. Renamed the create*() synchronized methods to create*_sync() as above. (call): Added a non-cancellable overload as above. * gio/src/dbusserver.{ccg,hg}: Add non-cancellable overloads of the constructor and create method. Renamed the create() synchronized method to create_sync() as above.
Diffstat (limited to 'gio/src/application.hg')
-rw-r--r--gio/src/application.hg3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/src/application.hg b/gio/src/application.hg
index ed70482e..54e71096 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -104,9 +104,10 @@ public:
_WRAP_METHOD(bool is_registered() const, g_application_get_is_registered)
_WRAP_METHOD(bool is_remote() const, g_application_get_is_remote)
- //TODO: Add a version with no cancellable.
//Renamed from register() because that is a C++ keyword.
_WRAP_METHOD(bool register_application(const Glib::RefPtr<Gio::Cancellable>& cancellable), g_application_register, errthrow)
+
+ /// Non-cancellable version of register_application().
bool register_application();
_WRAP_METHOD(void hold(), g_application_hold)