Re: [Vala] Signals with the same name as a signal in a base type are not supported

2010-04-10 Thread Adi Roiban
, 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

[Vala] Signals with the same name as a signal in a base type are not supported

2010-04-01 Thread Adi Roiban
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

[Vala] Working with GLib.List and memory management

2009-06-30 Thread Adi Roiban
(myWidget); myList.remove_all(myWidget); myWidget.destroy(); At the end myWidget ref_counter in not 0 and the object is not finalized. If I'm using Gee.ArrayList everthing is OK. How should I work with GLib.List and make sure I'm not wasting memory. Many thanks! -- Adi Roiban

Re: [Vala] How to call base constructors

2009-05-07 Thread Adi Roiban
În data de Mi, 06-05-2009 la 20:08 +0200, Frederik a scris: Adi Roiban wrote: I'm trying to extend the Gtk.CheckMenuItem and unfortunately there are no set_label or set_mnemonic methods. I was thinking to call the base constructor, but instead of gtk_check_menu_item_new_with_label

Re: [Vala] How to call base constructors

2009-05-07 Thread Adi Roiban
În data de Mi, 06-05-2009 la 17:48 +, Jan Hudec a scris: Vlad Grecescu b100d...@... writes: On Mon, May 4, 2009 at 4:40 PM, Adi Roiban a...@roiban.ro wrote: I'm trying to extend the Gtk.CheckMenuItem and unfortunately there are no set_label or set_mnemonic methods. I was thinking

[Vala] How to call base constructors

2009-05-04 Thread Adi Roiban
) { base.with_mnemonic(name); } } -- Adi Roiban ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Vala reserved keywords

2009-04-25 Thread Adi Roiban
/Vala/Syntax Many thanks! -- Adi Roiban ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] GLib.Time error if used in an interface

2009-03-17 Thread Adi Roiban
(); } --- If I run the test i got: /Vala/Interface/Time: GLib-GObject-CRITICAL **: g_param_spec_boxed: assertion `G_TYPE_IS_BOXED (boxed_type)' failed aborting... Aborted Can you tell me how I should work with this interface? Many thanks! -- Adi Roiban