Re: Where is g_type_init()?



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);





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]