From 925b4231dc7af90fa9ec2c442e640ebe20aedb5c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 25 Aug 2010 22:07:59 -0400 Subject: [PATCH] Point out that g_type_init() is required --- docs/reference/gio/overview.xml | 6 ++++++ 1 file changed, 6 insertions(+) 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(). + -- 2.7.4