Add an explicit deprecation note to g_thread_init
authorMatthias Clasen <mclasen@redhat.com>
Wed, 14 Dec 2011 12:16:04 +0000 (07:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Dec 2011 12:16:45 +0000 (07:16 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=666145

glib/deprecated/gthread-deprecated.c

index b53dfce..13cd188 100644 (file)
@@ -174,6 +174,10 @@ gboolean         g_threads_got_initialized = TRUE;
  * gthread-2.0</command> outputs. This is not the case for all the
  * other thread-related functions of GLib. Those can be used without
  * having to link with the thread libraries.</para></note>
+ *
+ * Deprecated:2.32: This function is no longer necessary. The GLib
+ *     threading system is automatically initialized at the start
+ *     of your program.
  */
 
 /**