Re: exiting app doesn't seem to work for me as documented



On Sun, 2003-07-13 at 03:50, Karl H. Beckers wrote:
Havoc Pennington wrote:

On Sat, Jul 12, 2003 at 10:14:03AM +0200, Karl H. Beckers wrote:
 

 g_signal_connect ((gpointer) window1, "destroy_event",
                   G_CALLBACK (on_window1_destroy_event),
                   NULL);
     


You want "destroy" not "destroy_event"

Havoc

 

Are you positive?
That bit of code was generated by Glade.

"destroy_event" exists, it just isn't useful. If you stick a callback
for "destroy_event" into Glade, it will happly generate the code.

For a common opinion on the subject of Glade code generation in general,
see:

http://lists.ximian.com/archives/public/glade-devel/2003-February/000015.html

Regards,
                                                Owen





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