Re: [gtkmm] I've got a lot of segfaults in combination with Dialogs



I've found the solution myself, instead of declaring a widget as
Gtk::Label lbl; i declare them as a pointer, Gtk::Label *lbl; en dan
instantiated is as lbl = new Gtk::Label()

This way i don't get the warnings in de console anymore and the
segfaults are over!

grtz,

bart

On Fri, 2002-10-04 at 16:24, Bart Hakvoort wrote:
> Ok, i'll try to post some clear code
> 
> bart
> 
> On Fri, 2002-10-04 at 16:15, Manuel Clos wrote:
> > Bart Hakvoort wrote:
> > > On the moment, i've got a few Dialogboxes in my app, but they segfault
> > > *very* often. Is this due to the fact that gtkmm-1.3.23 is still
> > > unstable? or am i doing something wrong?
> > 
> > Hi, I'm also using gtkmm-1.3.23 and Gtk::Dialog without any problem.
> > 
> > Post some of the code you are getting problems with if you want more help.
> > 
> > Also, try to write a simple example that makes clear that Gtk::Dialog is 
> > broken.
> > 
> > see you.
> > 
> > -- 
> > Manuel Clos
> > llanero eresmas net
> > 
> > TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398
> > TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
> > 
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list





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