summaryrefslogtreecommitdiff
path: root/gck/gck-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gck/gck-misc.c')
-rw-r--r--gck/gck-misc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gck/gck-misc.c b/gck/gck-misc.c
index 4004954d..563f40dc 100644
--- a/gck/gck-misc.c
+++ b/gck/gck-misc.c
@@ -212,6 +212,18 @@ _gck_stringize_rv (CK_RV rv)
* library or PKCS11 in general.
*/
+GType
+gck_list_get_boxed_type (void)
+{
+ static GType type = 0;
+ if (!type)
+ type = g_boxed_type_register_static ("GckList",
+ (GBoxedCopyFunc)gck_list_ref_copy,
+ (GBoxedFreeFunc)gck_list_unref_free);
+ return type;
+
+}
+
/**
* gck_list_unref_free:
* @reflist: List of Gobject reference counted pointers.