On Thu, 2010-04-08 at 07:38 -0500, Sandino Flores Moreno wrote: > I think the real question is: > Does GObject allow same signal redefinition? > > Personally, I don't think it's supported, but I don't really know.
Since signals are always something "abstract" and they don't require any implementation, using the interface as a mixin, solved my problem. This is the new code: public interface IItem : GLib.Object { public signal void created(bool status); } public class GenericItem: GLib.Object, IItem { } GenericItem will have the created signal. > On Thu, Apr 1, 2010 at 9:41 AM, Adi Roiban <a...@roiban.ro> wrote: > > Hi, > > > > I have upgraded from vala 0.7.6 to 0.7.9 and now when I compile the same > > code, i get this error: > > > > Signals with the same name as a signal in a base type are not supported > > > > The error is in GenericItem. Here is an excerpt from the code. > > > > public interface IItem : GLib.Object { > > public abstract signal void created(bool status); > > } > > > > public class GenericItem: GLib.Object, IItem { > > public signal void created(bool status); > > } > > > > I read all the release notes between version 0.7.6 to 0.7.9 and there > > were no mentions about this behavior. > > Is this a bug? > > > > Many thanks! > > > > -- > > Adi Roiban > > -- Adi Roiban _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list