GKeyFile: Add refcounting API

Adds g_key_file_ref and g_key_file_unref, to be used by a future
GKeyFile boxed type for language bindings.

Based on the patch by Christian Persch and Emmanuele Bassi.

Author: Christian Persch
Signed-off-by: Johan Dahlin
Signed-off-by: Giovanni Campagna

https://bugzilla.gnome.org/show_bug.cgi?id=590808
This commit is contained in:
Christian Persch
2009-05-25 15:07:27 +02:00
committed by Matthias Clasen
parent dfd75d2ead
commit a57c9148cf
4 changed files with 60 additions and 5 deletions

View File

@@ -1807,6 +1807,8 @@ GKeyFileFlags
<SUBSECTION>
g_key_file_new
g_key_file_free
g_key_file_ref
g_key_file_unref
g_key_file_set_list_separator
g_key_file_load_from_file
g_key_file_load_from_data