Clarify g_type_init docs
authorMatthias Clasen <mclasen@redhat.com>
Sun, 23 Sep 2012 15:13:57 +0000 (11:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 23 Sep 2012 15:13:57 +0000 (11:13 -0400)
Mention that there's no way to undo it.
https://bugzilla.gnome.org/show_bug.cgi?id=654239

gobject/gtype.c

index 075e2bc..61c5cc9 100644 (file)
@@ -4376,7 +4376,10 @@ g_type_init_with_debug_flags (GTypeDebugFlags debug_flags)
  * (such as the various fundamental type implementations or the signal
  * system).
  *
- * This function is idempotent.
+ * This function is idempotent: If you call it multiple times, all but
+ * the first calls will be silently ignored.
+ *
+ * There is no way to undo the effect of g_type_init().
  *
  * Since version 2.24 this also initializes the thread system
  */