This would have crashed if we ever replaced or removed something in that hash table. Instead, use g_object_unref() as value_destroy_func because the table keeps GimpContainers which we would leak if we ever removed anything from the table.