Hi Jaap,

> The reason for this is that the objects are gobjects and these are
> created by a g_object_new call [1]. That function can only set
> properties. So you need to have a property if you want to pass data to
> your constructor

Thanks, yes you are absolutely right, I was not thinking outside the
vala box.

I have noticed that non-construct properties don't go through the
g_object_new argument list. Which caused some confusion; is this some
sort of optimization?

Hans

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

Reply via email to