[GtkGLExt] GL widget destrcution problems



Hi,

  In the same context that my previous message (on resize), i have another problem regarding widget destruction: Whenever i "delete" the GLWidget described in my last message i get an error inside sigc, which seems to come from the Gtk::GL::DrawingArea destructor (but i'm not sure).

  To find a minimal case giving problems i've been reducing the code until this:
   
    Gtk::GL::DrawingArea* temp = new Gtk::GL::DrawingArea();
    delete temp;

  which causes the following error message and crash:

glibmm-ERROR **: file objectbase.cc: line 77 (void Glib::ObjectBase::initialize(GObject*)): assertion failed: (gobject_ == castitem)

  this message is different from the crash i get when deleting my widget (derived from Gtk::GL::DrawingArea), but maybe it is related.

  Any help will be welcome

j.



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