Merge branch 'mr285-subscription-docs' into 'master'

docs: Clarify return/error behaviour of D-Bus signal subscriptions

See merge request GNOME/glib!470
This commit is contained in:
Philip Withnall 2018-11-13 13:57:02 +00:00
commit 6f84f6823b

View File

@ -3410,6 +3410,11 @@ is_signal_data_for_name_lost_or_acquired (SignalData *signal_data)
* signal is unsubscribed from, and may be called after @connection * signal is unsubscribed from, and may be called after @connection
* has been destroyed.) * has been destroyed.)
* *
* The returned subscription identifier is an opaque value which is guaranteed
* to never be zero.
*
* This function can never fail.
*
* Returns: a subscription identifier that can be used with g_dbus_connection_signal_unsubscribe() * Returns: a subscription identifier that can be used with g_dbus_connection_signal_unsubscribe()
* *
* Since: 2.26 * Since: 2.26