[Vala] A problem in writing some ValaIde plugin..

2010-03-29 Thread Arkadi Viner
Hello, I'm trying to write a simple plugin for ValaIde, which is called 'Terminal', which should display a terminal window (or maybe there will be an option to open more then one..) inside the IDE (like in geany IDE for example..). I took most of the code from the TODO plugin and changed it for my

[Vala] Compile error when using Cogl.Color

2010-03-29 Thread Mike Hordecki
Hello! I've got a following problem with my the compiler. Given the code: using Cogl; void main() { var color = Color(); } valac generates an incorrect constructor call, i.e. cogl_color_new(some_temp_var) as opposed to cogl_color_new() which is present in the cogl's