Re: How To Trap fatal errors in a GTK Application.



On tis, 2004-08-24 at 16:19 +0200, Thomas Vander Stichele wrote:
> Hi Harsha,
> 
> > Can you tell me how to set my own handler ?
> 
> man atexit.

I don't think that was the question... Unless I misunderstand, it was
about setting up your own crash dialog.

Harsha, you can take a look at how GNOME does this:

http://cvs.gnome.org/viewcvs/libgnomeui/libgnomeui/gnome-ui-init.c?
view=markup

Look for the function libgnomeui_segv_setup().

I have to agree with James though, that fixing crashes is a better way
to spend your time ;)

/Richard

-- 
Imendio HB, http://www.imendio.com/




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