GNOME Bugzilla – Bug 560427
GNOME Goal: Remove deprecated GLib symbols
Last modified: 2013-09-14 16:52:38 UTC
See http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/Glib evolution-data-server uses in evolution-data-server/libedataserver/e-memory.c some GLib deprecated symbols, related to GMemChunk. However they are used in some dead code (#if 0'ed), so the dead code could either be removed, or updated to not use GMemChunk anymore.
Which deprecated symbols are being used, specifically?
evolution-data-server/calendar/libecal/e-cal-time-util.c:425: * This is analogous to g_date_set_time() but takes the timezone into account. evolution-data-server/libedataserver/e-memory.c:1219: GMemChunk *gmc; evolution-data-server/libedataserver/e-memory.c:1273: gmc = g_mem_chunk_new("memchunk", CHUNK_SIZE, CHUNK_SIZE*CHUNK_COUNT, G_ALLOC_AND_FREE); evolution-data-server/libedataserver/e-memory.c:1275: mem = g_mem_chunk_alloc(gmc); evolution-data-server/libedataserver/e-memory.c:1277: g_mem_chunk_free(gmc, mem); evolution-data-server/libedataserver/e-memory.c:1280: g_mem_chunk_destroy(gmc); evolution-data-server/libedataserver/e-memory.c:1293: gmc = g_mem_chunk_new("memchunk", CHUNK_SIZE, CHUNK_COUNT*CHUNK_SIZE, G_ALLOC_ONLY); evolution-data-server/libedataserver/e-memory.c:1295: mem = g_mem_chunk_alloc(gmc); evolution-data-server/libedataserver/e-memory.c:1298: g_mem_chunk_destroy(gmc);
Oh I see, it's in the test suite. EMemChunk was designed to outperform GMemChunk and the test suite is meant to demonstrate that, but since GMemChunk is going away it would be interesting to see how EMemChunk compares to GLib's newer slab allocator.
Could someone please give a look to it, and tell us whether the file should be removed, or updated if it still is useful ? Would be nice to have modules totally cleaned up for the upcoming GNOME 3.0...
Closing, as evolution-data-server is ok. The maintainers may update the test-suite if they want.