Point out that g_type_init() is required
authorMatthias Clasen <mclasen@redhat.com>
Thu, 26 Aug 2010 02:07:59 +0000 (22:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 Aug 2010 02:09:07 +0000 (22:09 -0400)
docs/reference/gio/overview.xml

index 0d5b057..5fdfbf8 100644 (file)
       To do so, use the <filename>gio-unix-2.0.pc</filename> file
       instead of <filename>gio-2.0.pc</filename>
     </para>
+
+    <para>
+      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().
+    </para>
   </chapter>
 
   <chapter>