> >       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 compiler bug, which should have
reported "returning void when a bool is expected".

hand
Nor Jaidi Tuah


_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to