Re: [Vala] plugin development in Vala
- From: Jürg Billeter <j bitron ch>
- To: Mathias Hasselmann <mathias hasselmann gmx de>
- Cc: vala paldo org
- Subject: Re: [Vala] plugin development in Vala
- Date: Sat, 17 Mar 2007 15:38:49 +0100
On Die, 2007-03-06 at 08:23 +0100, Jürg Billeter wrote:
On Die, 2007-03-06 at 08:06 +0100, Mathias Hasselmann wrote:
and to comply with C#, Vala should accept [Attribute] in addition to
Fixed in SVN.
Real trouble started when telling glib-2.0.vala about GTypeModule:
[...]
We should support this in Vala with an attribute on the type to get this
working properly I'll look into it.
It should now work with Vala SVN as follows:
public static class NautilusModule {
[ModuleInit]
public static void initialize (TypeModule module) {
// types are registered automatically
}
[...]
}
Let me know if it doesn't work as expected, I haven't tested a complete
Nautilus extension. It should also work with the plug-in system of gedit
and Epiphany.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]