Re: Gtk::Main called twice



Hi

Sorry for the hassle...I think I figured it out, is this
okay?

Gtk::Main* kit = Gtk::Main::instance();

if(kit == 0)
{
  Gtk::Main temp(NULL,NULL);
  kit = Gtk::Main::instance();
}
_____________________________________________________________________
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]