I think that code was there in order to explain why it is not
needed. If that case, it would be better to just move the comment
around.
In general having code around #if 0 is a maintenance burden. That code
has not been compiled for years and nothing happen. It is better to
just remove it.
object_class->finalize = atk_registry_finalize;
}
-#if 0
-/*
- * Cannot define a class_finalize function when calling
- * g_type_register_static()
- */
-static void
-atk_registry_class_finalize (GObjectClass *klass)
-{
- g_return_if_fail (ATK_IS_REGISTRY_CLASS (klass));
-
- g_object_unref (G_OBJECT (default_registry));
-}
-#endif
-
static void
atk_registry_init (AtkRegistry *instance, AtkRegistryClass *klass)
{