summaryrefslogtreecommitdiff
path: root/atk/atkrelation.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/atkrelation.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/atkrelation.c')
-rwxr-xr-xatk/atkrelation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/atk/atkrelation.c b/atk/atkrelation.c
index edb3a6e..be7e4be 100755
--- a/atk/atkrelation.c
+++ b/atk/atkrelation.c
@@ -25,7 +25,7 @@
GPtrArray *extra_names = NULL;
-GObjectClass *parent_class;
+static gpointer parent_class = NULL;
static void atk_relation_class_init (AtkRelationClass *klass);
static void atk_relation_finalize (GObject *object);
@@ -272,5 +272,5 @@ atk_relation_finalize (GObject *object)
g_ptr_array_free (relation->target, TRUE);
}
- parent_class->finalize (object);
+ G_OBJECT_CLASS (parent_class)->finalize (object);
}