, 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
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
(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
Î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
Î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
) {
base.with_mnemonic(name);
}
}
--
Adi Roiban
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
/Vala/Syntax
Many thanks!
--
Adi Roiban
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
();
}
---
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