summaryrefslogtreecommitdiff
path: root/atk/atkregistry.c
diff options
context:
space:
mode:
authorPadraig O'Briain <padraigo@src.gnome.org>2002-02-22 15:56:49 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2002-02-22 15:56:49 +0000
commitc91521a0a6359218d8b76b5f5c63c5d649bca7b6 (patch)
tree299165e9d66406493a2a186376b7ec65c6f96536 /atk/atkregistry.c
parente1695d4f2936c97e935ef5c8ef911db731077558 (diff)
downloadatk-c91521a0a6359218d8b76b5f5c63c5d649bca7b6.tar.gz
Make use of parent_class consistent; define as gpointer and use
* atk/atkgobjectaccessible.c atk/atkhyperlink.c atk/atknoopobject.c atk/atknoopobjectfactory.c atkobject.c atk/atkobjectfactory.c atk/atkregistry.c atk/atkrelation.c atk/atkrelationset.c: Make use of parent_class consistent; define as gpointer and use g_type_class_peek_parent() to get it * atk/atktext.c: Delete unused empty line * atk/atkregistry.c atk/atkrelation.c: Make parent_class static
Diffstat (limited to 'atk/atkregistry.c')
-rw-r--r--atk/atkregistry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/atk/atkregistry.c b/atk/atkregistry.c
index a6598de..22252de 100644
--- a/atk/atkregistry.c
+++ b/atk/atkregistry.c
@@ -28,7 +28,7 @@ static void atk_registry_finalize (GObject *instance
static void atk_registry_class_init (AtkRegistryClass *klass);
static AtkRegistry* atk_registry_new (void);
-GObjectClass *parent_class;
+static gpointer parent_class = NULL;
GType
atk_registry_get_type (void)
@@ -110,7 +110,7 @@ atk_registry_finalize (GObject *object)
g_hash_table_destroy (registry->factory_type_registry);
g_hash_table_destroy (registry->factory_singleton_cache);
- parent_class->finalize (object);
+ G_OBJECT_CLASS (parent_class)->finalize (object);
}
/**