[Vala] glib-enums as properties?

2008-07-10 Thread Hannes Matuschek
Hi, I've tried to define a enum from GLib (RegexCompileFlags) as a construction-property. The attached code fails to compile at C-level due missing definition of 'G_TYPE_REGEX_COMPILE_FLAGS'! Tested with current release and svn (rev. 1690) Should I file a bug? Hannes using GLib; public

[Vala] DBus signals and non-static methods

2008-05-24 Thread Hannes Matuschek
It looks like there is a problem connecting non-static methods to DBus signals. The attached code compiles well but produce critical warnings on DBus events. The static handler works well, but the instance-method-handler produce following warning: ** (process:15681): CRITICAL **: