** Changed in: unity (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity in Ubuntu. Matching subscriptions: dp-dee, dp-unity https://bugs.launchpad.net/bugs/911667
Title: Unable to use ModelTag from Vala with owned variables Status in dee: Fix Released Status in Unity: Fix Released Status in dee package in Ubuntu: Fix Released Status in unity package in Ubuntu: Fix Released Bug description: Methods using Dee.ModelTag are bound using void*, which makes mem- management very difficult (in vala terms). The class should be defined as a generic one. As an example currently it's not really straightforward how to put an owned string to a tag, one would probably use: unowned Dee.ModelTag tag = model.register_tag (GLib.free); model.set_tag (iter, tag, "foo".dup ()); debug ("%s", (string) model.get_tag (iter, tag)); But the variable with "foo" is freed right after the set_tag call. To manage notifications about this bug go to: https://bugs.launchpad.net/dee/+bug/911667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp