[Vala] VAPI GOBJECT/gtk binding constructions differ



hmm  I have noticed this:


Gtk.Image a = new Gtk.Image().new_from_file(...)

then we have

GLib.File = File().new_for_path(...)

Why not use the same rules for all this special constuctions?

IMHO we GLib.File should change to construct like this:

GLib.File = new File().for_path(...)


Greets

Mikael




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]