It was silly of me to require that "forget_scrolled_window()" be called
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 17 Aug 2000 07:56:44 +0000 (07:56 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 17 Aug 2000 07:56:44 +0000 (07:56 +0000)
commit95ad42e0a67d847d394e8e7c0fd24b61aa1cb1c9
treedcd6fcb7a365cce952394fe6a480ccee898e36dc
parent90c1518dddaf5e347fc6e28f3b67b0a746aff40c
It was silly of me to require that "forget_scrolled_window()" be called
explicitly; the right thing to do was to have
"remember_scrolled_window()" catch the "destroy" signal on the scrolled
window widget, and have the handler for that signal forget the scrolled
window.

Doing that obviates the need to have creators of scrolled windows keep
track of the windows they have and forget them when they're destroyed.

The signal for a "the window manager has requested that this window go
away" event is "delete_event", not "delete-event"; fix the
"gtk_signal_connect()" calls that were using "delete-event".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2284 f5534014-38df-0310-8fa8-9805f1628bb7
gtk/follow_dlg.c
gtk/gtkglobals.h
gtk/help_dlg.c
gtk/main.c
gtk/packet_win.c
gtk/prefs_dlg.c
gtk/proto_dlg.c