Re: running without a mainlopp for unittests

2005-02-15 Thread Stefan Kost
Another follow up - I managed to get a backtrace after I enabled core-dumps: This is gtk-2.4.9 on SuSe 9.2 on gentoo I use gtk-2.6.x, but will need to disabled -f-omit-frampointer optiomization to get a sensible backtrace. Anyone an idea whats causing this? Stefan #0 0x40b3de85 in XRenderQueryFo

Re: running without a mainlopp for unittests

2005-02-14 Thread Stefan Kost
I am just not getting it to work. Funny thing is it works in NOFORK mode, but segfaults in FORK mode. what I do different is: - setting tp the GUI object - call gtk_show_all(window) - back in unittest do gtk_widget_destroy(window) while(gtk_event_pending()) gtk_main_iteration(); - m

Re: running without a mainlopp for unittests

2005-02-03 Thread Tristan Van Berkom
On Thu, 03 Feb 2005 20:41:39 +0100, Stefan Kost <[EMAIL PROTECTED]> wrote: > Hi, > > I use check too ;). > Are your tests available somehwere ? Hmmm, like I said; I dont really use them for GUI elements so my mainloop tests dont include gtk_init()... the test bodies that use mainloops have this k

Re: running without a mainlopp for unittests

2005-02-03 Thread Stefan Kost
Hi, I use check too ;). Are your tests available somehwere ? Stefan Tristan Van Berkom wrote: > On Thu, 03 Feb 2005 19:07:48 +0100, Stefan Kost > <[EMAIL PROTECTED]> wrote: > >>hi hi, >> >>I currently fight with some highlevel unit test, that should basically start >>the >>application and imme

Re: running without a mainlopp for unittests

2005-02-03 Thread Tristan Van Berkom
On Thu, 03 Feb 2005 19:07:48 +0100, Stefan Kost <[EMAIL PROTECTED]> wrote: > hi hi, > > I currently fight with some highlevel unit test, that should basically start > the > application and immeditely exit. > The Problem I have is that instead of calling gtk_main() I want to init > everything and