Hi, 2010/4/8, Artem Alexanenkov <[email protected]>: > Hello, > > I am trying to compile with vala 0.8.0: > > int main (string[] argv){ > Gdk.Color color = Gdk.Color(); > Gdk.Color color_copy = color.copy(); > return 0; > } This should fix it : int main (string[] argv){ Gdk.Color color = Gdk.Color(); Gdk.Color color_copy = color; return 0; }
btw, I think the copy method should be hidden, it's not really a method. And since Gdk.Color is a struct, you don't need anything to copy it ;-) HTH, Abderrahim _______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
