Re: [Vala] Problem with creating bindings involving interfaces
- From: Dominique Würtz <housirer gmx de>
- To: Jürg Billeter <j bitron ch>
- Cc: vala paldo org
- Subject: Re: [Vala] Problem with creating bindings involving interfaces
- Date: Thu, 24 Aug 2006 09:13:29 +0200
Great! Works perfectly now. Thank you.
Jürg Billeter schrieb:
Hi Dominique
On Mon, 2006-08-21 at 11:38 +0200, Dominique Würtz wrote:
I'm experimenting with Vala (which looks _very_ promising), trying to
create bindings for GooCanvas. Here is a snippet of my bindings file:
namespace Goo {
public interface CanvasModel {
[NoArrayLength ()]
public Goo.CanvasItem get_root_item ();
}
public class CanvasModelSimple : CanvasModel {
[NoArrayLength ()]
public construct ();
}
}
[...]
test.vala:41.9-41.21: error: The name `get_root_item' does not exist in
the context of `Goo.CanvasModelSimple'
Am I missing something?
That's a bug in the compiler, it didn't support calling non-abstract
interface methods. I've committed a fix to SVN.
Regards,
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]