On Jan 25, 2008 8:16 AM, Bjoern Schiessle <<a href="mailto:bes@schiessle.org">bes@schiessle.org</a>> 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't<br>uses the destroy() statement at the end. Intuitional i would say that<br>the example is correct and that i don'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't have a Destroy call because the program ends immediately after the Run call. If you want the Dialog to go away on close, you should either hide or destroy it when the Run call is done. All Dialog subclasses require this type of cleanup.<br>
<br>As far as why it works on fedora vs ubuntu, it's hard to provide any reasonable response without knowing more details, like code, Gtk# versions, Gtk+ versions, etc... <br><br>The short answer is, the Destroy () call is correct.<br>
<br>Mike<br></div><div> </div></div>