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 560427 - GNOME Goal: Remove deprecated GLib symbols
GNOME Goal: Remove deprecated GLib symbols
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
2.26.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[cleanup]
Depends on:
Blocks: 560423
 
 
Reported: 2008-11-12 01:51 UTC by Luis Menina
Modified: 2013-09-14 16:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Luis Menina 2008-11-12 01:51:35 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.
Comment 1 Matthew Barnes 2008-11-12 03:02:22 UTC
Which deprecated symbols are being used, specifically?
Comment 2 Luis Menina 2008-11-12 03:15:09 UTC
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);
Comment 3 Matthew Barnes 2008-11-12 03:16:06 UTC
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.
Comment 4 Luis Menina 2009-04-03 22:58:42 UTC
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...
Comment 5 Luis Menina 2009-06-12 00:59:24 UTC
Closing, as evolution-data-server is ok. The maintainers may update the test-suite if they want.