On Fri, Jan 15, 2010 at 21:11:14 +0800, xiaohu wrote:
> I have below vala code:
>
> public void on_iconview_selection_changed (IconView iconview)
> {
> unowned List list = iconview.get_selected_items ();
^^^
Obviously the list must be owned to have vala free it.
I have below vala code:
public void on_iconview_selection_changed (IconView iconview)
{
unowned List list = iconview.get_selected_items ();
if (list == null || list.length () == 0)
return;
var model = iconview.get_model ();
TreeIter iter;
if (mode