Re: [Vala] Working with GLib.List and memory management
- From: Кутейников Дмитрий <kuteynikov gmail com>
- To: Adi Roiban <adi roiban ro>, vala-list gnome org
- Subject: Re: [Vala] Working with GLib.List and memory management
- Date: Wed, 1 Jul 2009 01:24:56 +0400
It is some sort of a bug (or a feature). Vala inserts g_object_ref in generated C-code after myList.prepend(myWidget); but it doesn't decrease ref_counter after remove. The only way is to use g_object_unref manually.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]