Re: [Vala] Gtk.Dialog.show crashes app

2010-01-25 Thread Jiří Zárevúcky
Nor Jaidi Tuah píše v Po 25. 01. 2010 v 07:58 +0800: dialog.delete_event.connect (() = {dialog.hide_on_delete ();}); Perhaps you wanted return dialog.hide_on_delete (); there? I didn't do this in a long time, bug if I recall correctly, you need to stop delete_event by returning

Re: [Vala] Gtk.Dialog.show crashes app

2010-01-24 Thread Nor Jaidi Tuah
dialog.delete_event.connect (() = {dialog.hide_on_delete ();}); Perhaps you wanted return dialog.hide_on_delete (); there? I didn't do this in a long time, bug if I recall correctly, you need to stop delete_event by returning true. That fixes the problem. Thanks. So that is partly a

Re: [Vala] Gtk.Dialog.show crashes app

2010-01-23 Thread Jiří Zárevúcky
Nor Jaidi Tuah píše v So 23. 01. 2010 v 10:39 +0800: I don't know if this is a vala bug or I have missed something. In the following code I'm creating a Gtk.Dialog and keeping it handy to be shown non-modal using show(). The trouble is, after the dialog is closed, reopening it will crash the

[Vala] Gtk.Dialog.show crashes app

2010-01-22 Thread Nor Jaidi Tuah
I don't know if this is a vala bug or I have missed something. In the following code I'm creating a Gtk.Dialog and keeping it handy to be shown non-modal using show(). The trouble is, after the dialog is closed, reopening it will crash the application with Segmentation fault no less. Replacing