Merge lp:~mhr3/dee/vala-tags into lp:dee
Proposed by
Michal Hruby
Status: | Merged |
---|---|
Approved by: | Mikkel Kamstrup Erlandsen |
Approved revision: | 331 |
Merged at revision: | 331 |
Proposed branch: | lp:~mhr3/dee/vala-tags |
Merge into: | lp:dee |
Diff against target: |
107 lines (+34/-12) 3 files modified
vapi/Dee-1.0-custom.vala (+20/-6) vapi/Dee-1.0.metadata (+4/-0) vapi/dee-1.0.vapi (+10/-6) |
To merge this branch: | bzr merge lp:~mhr3/dee/vala-tags |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mikkel Kamstrup Erlandsen (community) | Approve | ||
Review via email: mp+87439@code.launchpad.net |
Description of the change
Makes ModelTag fully usable from Vala.
To post a comment you must log in.
The new way to use ModelTag is now:
var tag = new Dee.ModelTag< string> (model);
tag[model, iter] = "weeeee";
debug ("%s", tag[model, iter]);
tag.clear (model, iter);
Note that this will now properly duplicate the string.