[PATCH] GTK warnings fix



I use the WM close button to exit balsa and whenever I do so, many lines of
GTK-Warnings spew onto my console. The following patchlet fixes this by
adding a handler for the WM "delete_event" to the main window (a call to
balsa_exit()). I don't know if it's the right place to add the connect, but
it works quite well.

Index: src/main-window.c
===================================================================
RCS file: /cvs/gnome/balsa/src/main-window.c,v
retrieving revision 1.355
diff -r1.355 src/main-window.c
640a641,642
>     gtk_signal_connect(GTK_OBJECT(window), "delete_event",
GTK_SIGNAL_FUNC(balsa_exit), NULL);
> 

_________________________________________________
Andrew Ferguson
http://owsla.cjb.net | andrew@owsla.cjb.net
Tintin Webring: http://owsla.cjb.net/tintin/ring/




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