mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Point out that g_type_init() is required
This commit is contained in:
parent
1681f7410a
commit
925b4231dc
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user