projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1681f74
)
Point out that g_type_init() is required
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 26 Aug 2010 02:07:59 +0000
(22:07 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 26 Aug 2010 02:09:07 +0000
(22:09 -0400)
docs/reference/gio/overview.xml
patch
|
blob
|
history
diff --git
a/docs/reference/gio/overview.xml
b/docs/reference/gio/overview.xml
index
0d5b057
..
5fdfbf8
100644
(file)
--- a/
docs/reference/gio/overview.xml
+++ b/
docs/reference/gio/overview.xml
@@
-182,6
+182,12
@@
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>