gapplication: add bind_busy_property()

Balancing g_application_{un,}mark_busy() is non-trivial in some cases.

Make it a bit more convenient by allowing to bind multiple boolean
properties (from different objects) to the busy state. As long as these
properties are true, the application is marked as busy.

https://bugzilla.gnome.org/show_bug.cgi?id=744565
This commit is contained in:
Lars Uebernickel
2015-02-15 18:54:13 +01:00
parent c59d195dd2
commit 0f2b54142a
3 changed files with 110 additions and 0 deletions

View File

@@ -3136,6 +3136,7 @@ g_application_get_default
<SUBSECTION>
g_application_mark_busy
g_application_unmark_busy
g_application_bind_busy_property
<SUBSECTION Standard>
G_TYPE_APPLICATION
G_APPLICATION