summaryrefslogtreecommitdiff
path: root/gobject/gboxed.c
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2011-10-15 17:51:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-10-15 17:51:25 -0400
commit96817746d999ce34b4fd3471b3c58d3a6be2dcbd (patch)
treef9be2c07e088215b528121b18add6faacf4f916d /gobject/gboxed.c
parenta57c9148cf6dde67c967b837d74faf92a12c3ca6 (diff)
downloadglib-96817746d999ce34b4fd3471b3c58d3a6be2dcbd.tar.gz
Turn GKeyFile into a boxed for introspection
Using the new refcounting API, introduce a boxed type wrapping GKeyFile and expose it introspection bindings in glib-types.h.
Diffstat (limited to 'gobject/gboxed.c')
-rw-r--r--gobject/gboxed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gobject/gboxed.c b/gobject/gboxed.c
index 93415af40..65ea9086e 100644
--- a/gobject/gboxed.c
+++ b/gobject/gboxed.c
@@ -145,6 +145,8 @@ G_DEFINE_BOXED_TYPE (GVariantBuilder, g_variant_builder, g_variant_builder_ref,
G_DEFINE_BOXED_TYPE (GError, g_error, g_error_copy, g_error_free)
G_DEFINE_BOXED_TYPE (GDateTime, g_date_time, g_date_time_ref, g_date_time_unref);
+G_DEFINE_BOXED_TYPE (GKeyFile, g_key_file, g_key_file_ref, g_key_file_unref)
+
G_DEFINE_BOXED_TYPE (GMainLoop, g_main_loop, g_main_loop_ref, g_main_loop_unref)
G_DEFINE_BOXED_TYPE (GMainContext, g_main_context, g_main_context_ref, g_main_context_unref)
G_DEFINE_BOXED_TYPE (GSource, g_source, g_source_ref, g_source_unref)