+ /* Causes GTK+ to 0-fill lots of things, which helps the garbage collector. */
+ g_mem_gc_friendly = 1;
+ /* Causes GTK+ to always use g_malloc() instead of private allocator that
+ * libgc doesn't know about */
+ g_slice_set_config(G_SLICE_CONFIG_ALWAYS_MALLOC, 1);