When you call gtk_init, you implicity call g_type_init; and you don't need to call it again in other part of your program.
2006/3/25, Paul Davis <
paul@xxxxxxxxxxxxxxxxxxxxx>:
On Sun, 2006-03-26 at 02:28 +0000, DC A wrote:
> I'm trying to learn gtk+. And I have a question:
>
> According to api quote "Before using any GType or GObject functions,
> g_type_init() must be called to initialize the type system."
>
> So when I create GtkButton with g_object_new, where is this g_type_init()
> get called?
gtk_init (argc, argv);
_______________________________________________
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los cuates: LIBRE)
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list