Re: [gtkmm] simple libglademm program barfs telling me to call g_type_init()



On 8 Sep 2003 19:57:38 -0700
joey yandle <jwy divisionbyzero com> wrote:

> You need to create a Gtk::Main object, like this:
> 
> int main(int argc, char** argv) {
>     Gtk::Main main(argc, argv);
>     ...
> }
> 
> This takes care of calling gtk_init(), etc.

Ok, thanks I thought all that was handled by libglademm.

Attachment: pgpq9QhEY1zGs.pgp
Description: PGP signature



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