After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689991 - Adapt to Libosinfo List API changes
Adapt to Libosinfo List API changes
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-12-10 17:12 UTC by Zeeshan Ali
Modified: 2016-03-31 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adapt to Libosinfo List API changes (2.57 KB, patch)
2012-12-10 17:12 UTC, Zeeshan Ali
none Details | Review
Adapt to Libosinfo List API changes (1.96 KB, patch)
2012-12-10 23:52 UTC, Zeeshan Ali
committed Details | Review

Description Zeeshan Ali 2012-12-10 17:12:13 UTC
See patch.
Comment 1 Zeeshan Ali 2012-12-10 17:12:15 UTC
Created attachment 231171 [details] [review]
Adapt to Libosinfo List API changes

Starting from version 0.2.2 (that we already depend on), libosinfo
deprecates custom List classes in favor of direct use of this base class.

This patch adapts to that change so we don't get warnings from valac
about use of deprecated symbols.
Comment 2 Zeeshan Ali 2012-12-10 23:52:40 UTC
Created attachment 231225 [details] [review]
Adapt to Libosinfo List API changes

I had overlooked the fact that List.new* returns the instance of the source list type so this change could be as simple as this.
Comment 3 Christophe Fergeau 2012-12-11 10:09:08 UTC
Comment on attachment 231225 [details] [review]
Adapt to Libosinfo List API changes

Bleh not very beautiful :(
Comment 4 Zeeshan Ali 2012-12-11 14:19:41 UTC
Attachment 231225 [details] pushed as 35699f4 - Adapt to Libosinfo List API changes