Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38546: /trunk/gtk/ /trunk/gtk/: foll
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 15 Aug 2011 13:38:46 -0700
On Aug 15, 2011, at 11:54 AM, Bill Meier wrote:

> That's what I assumed & expected, but it seems that the "destroy" callback for the window doesn't get called when the app exits since the file didn't get removed when I simply exited Wireshark by clicking the upper right corner of the main window.
> 
> Maybe something about the window is a dialog window ?

It shouldn't be - I'd call it a "Primary Window" in GNOME's terminology:

	http://developer.gnome.org/hig-book/2.32/windows-primary.html.en

rather than a "Dialog":

	http://developer.gnome.org/hig-book/2.32/windows-dialog.html.en

However, it's created with dlg_window_new() in follow_stream().  Perhaps it shouldn't be.

If you close the current capture, or quit Wireshark, the window should be destroyed.