From 68c61158352aa2dd9efd19c4cc9d8e3a7e570a2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Fri, 19 Feb 2016 17:46:38 +0100 Subject: [PATCH] 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. --- atk/atkregistry.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/atk/atkregistry.c b/atk/atkregistry.c index 364d8ba..45fabde 100644 --- a/atk/atkregistry.c +++ b/atk/atkregistry.c @@ -84,20 +84,6 @@ atk_registry_class_init (AtkRegistryClass *klass) 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) { -- 2.7.4