GNOME Bugzilla – Bug 705403
Use GLib.BytesIcon instead of Edsf.MemoryIcon
Last modified: 2013-09-28 14:08:01 UTC
GLib ≥ 2.37.6 has a new GBytesIcon which does exactly the same as Edsf.MemoryIcon, but can also be serialised to a GVariant. Because deleting code is fun, let’s replace Edsf.MemoryIcon with it. This won’t change API because MemoryIcon is internal — we expose it as a GLoadableIcon/GIcon.
Created attachment 250769 [details] [review] Use GLib.BytesIcon instead of Edsf.MemoryIcon
Review of attachment 250769 [details] [review]: Looks fine to me. I couldn't verify it due to the EDS test suite failing spectacularly (and inconsistently), but it seems safe enough.
Comment on attachment 250769 [details] [review] Use GLib.BytesIcon instead of Edsf.MemoryIcon Tested with the changes from bug #679826 applied (to parallelise the test cases) and no new tests fail. commit 63217d5cb7bc83b476b84313880a005e23223416 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Sat Aug 3 15:24:32 2013 +0200 Bug 705403 — Use GLib.BytesIcon instead of Edsf.MemoryIcon Use GLib.BytesIcon internally instead of Edsf.MemoryIcon, which can be deleted. This bumps our GLib requirement to 2.37.6, but doesn’t affect API. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=705403 NEWS | 2 ++ backends/eds/lib/Makefile.am | 1 - backends/eds/lib/edsf-persona.vala | 3 ++- backends/eds/lib/memory-icon.vala | 135 --------------------------------------------------------------------------------------------------------------------------------------- configure.ac | 2 +- 5 files changed, 5 insertions(+), 138 deletions(-)