From cf912785b6aa4cd7acd1cf2b041b25fae76df5f7 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 15 Mar 2012 17:59:01 -0400 Subject: [PATCH] gtype: Note idempotency of g_type_init() --- gobject/gtype.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gobject/gtype.c b/gobject/gtype.c index e9ed7fa57..d78a8970b 100644 --- a/gobject/gtype.c +++ b/gobject/gtype.c @@ -4265,6 +4265,8 @@ _g_type_boxed_init (GType type, * debugging purposes. * * Similar to g_type_init(), but additionally sets debug flags. + * + * This function is idempotent. */ void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags) @@ -4376,6 +4378,8 @@ g_type_init_with_debug_flags (GTypeDebugFlags debug_flags) * (such as the various fundamental type implementations or the signal * system). * + * This function is idempotent. + * * Since version 2.24 this also initializes the thread system */ void