mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gsettings: Clarify ownership transfer in a few places
I was trying to debug some memory leaks in the gsettings test. Eventually, it seems that actually they’re caused by the GMemorySettingsBackend being cached by GIOModule — so this commit makes no functional changes. It should make the code and documentation a bit clearer though. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -777,6 +777,8 @@ g_settings_backend_read_user_value (GSettingsBackend *backend,
|
||||
* to indicate that the affected keys have suddenly "changed back" to their
|
||||
* old values.
|
||||
*
|
||||
* If @value has a floating reference, it will be sunk.
|
||||
*
|
||||
* Returns: %TRUE if the write succeeded, %FALSE if the key was not writable
|
||||
*/
|
||||
gboolean
|
||||
|
Reference in New Issue
Block a user