diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2015-02-17 08:39:05 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2015-02-18 20:17:03 +0100 |
commit | 2d3d8cdce2e30978c259bdbc61c2af26ee081533 (patch) | |
tree | 53c7874abe31d82490eae4ac02b2550beea43d3f /gio/gapplication.h | |
parent | a2172ee247b43265b249188de53c8f9d6cb7b7b3 (diff) | |
download | glib-2d3d8cdce2e30978c259bdbc61c2af26ee081533.tar.gz |
gapplication: tune busy-binding
g_application_bind_busy_property() had the restriction that only one
property can be bound per object, so that NULL could be used to unbind.
Even though this is enough for most uses, it is a weird API.
Lift that restriction and add an explicit unbind function.
https://bugzilla.gnome.org/show_bug.cgi?id=744565
Diffstat (limited to 'gio/gapplication.h')
-rw-r--r-- | gio/gapplication.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gapplication.h b/gio/gapplication.h index a5e971254..98ceb902c 100644 --- a/gio/gapplication.h +++ b/gio/gapplication.h @@ -231,6 +231,11 @@ void g_application_bind_busy_property (GApplic gpointer object, const gchar *property); +GLIB_AVAILABLE_IN_2_44 +void g_application_unbind_busy_property (GApplication *application, + gpointer object, + const gchar *property); + G_END_DECLS #endif /* __G_APPLICATION_H__ */ |