AFAIK, no one has tried to make boehm GC really work with glib & gtk+
programs so far. The "gc friendly" mode that glib has in general just
zeros-out certain memory portions before calling free(), so GC-alike
leak detectors like e.g. valgrind can do a more accurate job.
Depending on how clever your GC implementation is, I'd actually expect
quite some real world problems with it trying to "collect" glib
memory. E.g. GLib only stores pointers into the _middle_ of fundamental
GType nodes (not the node start) and with GSlice provides its own
allocator that cannot be replaced with GC collection (the memory pages
allocated by gslice.c:allocator_memalign are also not pointed to
directly, a pointer to an admin structure at the page tail is kept
instead).