On Jan 25, 2008 8:16 AM, Bjoern Schiessle &lt;<a href="mailto:bes@schiessle.org">bes@schiessle.org</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>But i wonder what is the correct behaviour? The example here[1] doesn&#39;t<br>uses the destroy() statement at the end. Intuitional i would say that<br>the example is correct and that i don&#39;t need this statement. The<br>
behaviour of the close button should be implemented already in the<br>close-button-handler of the Gtk.AboutDialog.</blockquote><div><br>The example doesn&#39;t have a Destroy call because the program ends immediately after the Run call.&nbsp; If you want the Dialog to go away on close, you should either hide or destroy it when the Run call is done.&nbsp; All Dialog subclasses require this type of cleanup.<br>
<br>As far as why it works on fedora vs ubuntu, it&#39;s hard to provide any reasonable response without knowing more details, like code, Gtk# versions, Gtk+ versions, etc...&nbsp; <br><br>The short answer is, the Destroy () call is correct.<br>
<br>Mike<br></div><div>&nbsp;</div></div>