Commit 68c61158 authored by Alejandro Piñeiro's avatar Alejandro Piñeiro
Browse files

atkregistry: remove code not being compiled

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.
parent c82f4382
...@@ -84,20 +84,6 @@ atk_registry_class_init (AtkRegistryClass *klass) ...@@ -84,20 +84,6 @@ atk_registry_class_init (AtkRegistryClass *klass)
object_class->finalize = atk_registry_finalize; 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 static void
atk_registry_init (AtkRegistry *instance, AtkRegistryClass *klass) atk_registry_init (AtkRegistry *instance, AtkRegistryClass *klass)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment