[Vala] error on property.
- From: Alexey Lubimov <avl l14 ru>
- To: vala-list gnome org
- Subject: [Vala] error on property.
- Date: Wed, 20 Aug 2008 19:46:01 +0400
public class Info.PersonInfo {
public string f_name;
public string m_name;
public string l_name;
public string fio {get {return this.get_fio();}}
public string get_fio() {
return "%s %C. %C".printf(l_name,f_name.get_char(),m_name.get_char());
}
}
PersonInfo.vala:12.7-12.28: error: Return value transfers ownership but
method return type hasn't been declared to transfer ownership
That's wrong?
any tips?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]