From 1513efc904cfb42ed5305fd77b40e1c399380d40 Mon Sep 17 00:00:00 2001 From: Simon Feltman Date: Tue, 15 Oct 2013 23:26:41 -0700 Subject: [PATCH] Add GParamSpec object ref management annotations Add ref-func, unref-func, set-value-func, and get-value-func annotations to GParamSpec so that it can be managed generically as a fundamental type with introspection. https://bugzilla.gnome.org/show_bug.cgi?id=710243 --- gobject/gparam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gparam.h b/gobject/gparam.h index e2bd28671..c473a524c 100644 --- a/gobject/gparam.h +++ b/gobject/gparam.h @@ -195,7 +195,7 @@ typedef struct _GParamSpecClass GParamSpecClass; typedef struct _GParameter GParameter; typedef struct _GParamSpecPool GParamSpecPool; /** - * GParamSpec: + * GParamSpec: (ref-func g_param_spec_ref_sink) (unref-func g_param_spec_uref) (set-value-func g_value_set_param) (get-value-func g_value_get_param) * @g_type_instance: private #GTypeInstance portion * @name: name of this parameter: always an interned string * @flags: #GParamFlags flags for this parameter