Re: Gtk::Main called twice



Hi

I thought this worked:

> Gtk::Main* kit = Gtk::Main::instance();
> 
> if(kit == 0)
> {
> Gtk::Main temp(NULL,NULL);
> kit = Gtk::Main::instance();
> }

but it seems very buggy. (Sometimes it crashes...other
times not). Is there some better way of doing this?

Thanks
damon
_____________________________________________________________________
For super low premiums, click here http://www.dialdirect.co.za/quote



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