On Thu, Jan 14, 2016 at 9:23 AM, Walter Valenti <valenti.wal...@gmail.com> wrote:
public class Splash : Gtk.Window{
    /* Costruttore */
    public Splash() {
        new Gtk.Window();

Note that this line is making a *second* Gtk.Window, in addition to your Splash window, which is probably not what you want. (You don't see it because it is never shown.)

I assume you're trying to chain constructors. This is unnecessary in this case. If you needed to do this, the syntax is 'base();' or 'base.from_something(something);'. But for the case of Gtk objects and others, this won't work. Instead, you'd need to use GObject construction; see for details: https://wiki.gnome.org/Projects/Vala/FAQ#Why_can.27t_I_chain_up_to_base_constructor.3F

Robert



_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to