Re: Canvas mysterious segfault



Kasper Peeters <kasper peeters aei mpg de> writes:

> int main(int argc, char **argv)
>      {
>      Gnome::Canvas::init();
>      Gtk::Main app(argc,argv);

This is just a wild guess. But perhaps GTK must be initialised before
the canvas module. Have you tried swapping these two lines?

-- 
Ole Laursen
http://www.cs.aau.dk/~olau/



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