From: Matthias Clasen Date: Thu, 26 Aug 2010 02:07:59 +0000 (-0400) Subject: Point out that g_type_init() is required X-Git-Tag: 2.25.15~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=925b4231dc7af90fa9ec2c442e640ebe20aedb5c;p=platform%2Fupstream%2Fglib.git Point out that g_type_init() is required --- diff --git a/docs/reference/gio/overview.xml b/docs/reference/gio/overview.xml index 0d5b057..5fdfbf8 100644 --- a/docs/reference/gio/overview.xml +++ b/docs/reference/gio/overview.xml @@ -182,6 +182,12 @@ To do so, use the gio-unix-2.0.pc file instead of gio-2.0.pc + + + Since GIO is based on GObject, you need to call g_type_init() + before you can use any GIO functions. If your application uses + GTK+, this is already taken care of by gtk_init(). +