diff options
author | Alejandro Piñeiro <apinheiro@igalia.com> | 2016-02-19 17:46:38 +0100 |
---|---|---|
committer | Alejandro Piñeiro <apinheiro@igalia.com> | 2016-03-08 18:11:38 +0100 |
commit | 68c61158352aa2dd9efd19c4cc9d8e3a7e570a2e (patch) | |
tree | 0bacc8a85688cb049710600d19ebee8343fcbc6f | |
parent | c82f4382912432a40669da244320a4d9f0bee2de (diff) | |
download | atk-68c61158352aa2dd9efd19c4cc9d8e3a7e570a2e.tar.gz |
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.
-rw-r--r-- | atk/atkregistry.c | 14 |
1 files changed, 0 insertions, 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) { |