mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Deprecate g_binding_get_source() and get_target() in favour of dup_source() and dup_target()
The old functions are not thread-safe by design.
This commit is contained in:
@@ -1019,6 +1019,9 @@ g_binding_get_flags (GBinding *binding)
|
||||
* Returns: (transfer none) (nullable): the source #GObject, or %NULL if the
|
||||
* source does not exist any more.
|
||||
*
|
||||
* Deprecated: 2.68: Use g_binding_dup_source() for a safer version of this
|
||||
* function.
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
GObject *
|
||||
@@ -1077,6 +1080,9 @@ g_binding_dup_source (GBinding *binding)
|
||||
* Returns: (transfer none) (nullable): the target #GObject, or %NULL if the
|
||||
* target does not exist any more.
|
||||
*
|
||||
* Deprecated: 2.68: Use g_binding_dup_target() for a safer version of this
|
||||
* function.
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
GObject *
|
||||
|
Reference in New Issue
Block a user