summaryrefslogtreecommitdiff
path: root/atk/atkobject.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/atkobject.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/atkobject.c')
-rwxr-xr-xatk/atkobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atk/atkobject.c b/atk/atkobject.c
index 00bb08a..1cc092a 100755
--- a/atk/atkobject.c
+++ b/atk/atkobject.c
@@ -149,7 +149,7 @@ atk_object_class_init (AtkObjectClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
- parent_class = g_type_class_ref (G_TYPE_OBJECT);
+ parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = atk_object_real_set_property;
gobject_class->get_property = atk_object_real_get_property;