[glib] Add GParamSpec object ref management annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Add GParamSpec object ref management annotations
- Date: Wed, 16 Dec 2015 14:08:02 +0000 (UTC)
commit 1513efc904cfb42ed5305fd77b40e1c399380d40
Author: Simon Feltman <sfeltman src gnome org>
Date: Tue Oct 15 23:26:41 2013 -0700
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gparam.h b/gobject/gparam.h
index e2bd286..c473a52 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]