aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/e-text
diff options
context:
space:
mode:
authorTim Wo <tim.wo@sun.com>2003-09-12 21:55:57 +0800
committerGilbert Fang <gilbertfang@src.gnome.org>2003-09-12 21:55:57 +0800
commit8b364a6d1675059f1330f88513004d25c32fcfce (patch)
treea0d0540e01e5c38c5937cc10e2fa9306a4be8e06 /a11y/e-text
parent28a15c404b2907839eca968fe01a5e5a611f005b (diff)
downloadgsoc2013-evolution-8b364a6d1675059f1330f88513004d25c32fcfce.tar
gsoc2013-evolution-8b364a6d1675059f1330f88513004d25c32fcfce.tar.gz
gsoc2013-evolution-8b364a6d1675059f1330f88513004d25c32fcfce.tar.bz2
gsoc2013-evolution-8b364a6d1675059f1330f88513004d25c32fcfce.tar.lz
gsoc2013-evolution-8b364a6d1675059f1330f88513004d25c32fcfce.tar.xz
gsoc2013-evolution-8b364a6d1675059f1330f88513004d25c32fcfce.tar.zst
gsoc2013-evolution-8b364a6d1675059f1330f88513004d25c32fcfce.zip
GalA11yETextFactory should inherit from AtkObjectFactory not AtkObject.
2003-09-08 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text-factory.h: GalA11yETextFactory should inherit from AtkObjectFactory not AtkObject. (#47097). * gal/a11y/e-text/gal-a11y-e-text.c (et_class_init): Set value for "component_parent_iface". (#47097) * gal/e-text/e-text.c (e_text_class_init): Added registration code for GalA11yETextFactory. (#47097) svn path=/trunk/; revision=22551
Diffstat (limited to 'a11y/e-text')
-rw-r--r--a11y/e-text/gal-a11y-e-text-factory.h4
-rw-r--r--a11y/e-text/gal-a11y-e-text.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/a11y/e-text/gal-a11y-e-text-factory.h b/a11y/e-text/gal-a11y-e-text-factory.h
index 2b945dbd94..56a8d29ab9 100644
--- a/a11y/e-text/gal-a11y-e-text-factory.h
+++ b/a11y/e-text/gal-a11y-e-text-factory.h
@@ -22,11 +22,11 @@ typedef struct _GalA11yETextFactory GalA11yETextFactory;
typedef struct _GalA11yETextFactoryClass GalA11yETextFactoryClass;
struct _GalA11yETextFactory {
- AtkObject object;
+ AtkObjectFactory object;
};
struct _GalA11yETextFactoryClass {
- AtkObjectClass parent_class;
+ AtkObjectFactoryClass parent_class;
};
diff --git a/a11y/e-text/gal-a11y-e-text.c b/a11y/e-text/gal-a11y-e-text.c
index ce32e86fc2..1ee67989ca 100644
--- a/a11y/e-text/gal-a11y-e-text.c
+++ b/a11y/e-text/gal-a11y-e-text.c
@@ -452,6 +452,8 @@ et_class_init (GalA11yETextClass *klass)
parent_class = g_type_class_ref (PARENT_TYPE);
+ component_parent_iface = g_type_interface_peek(parent_class, ATK_TYPE_COMPONENT);
+
object_class->dispose = et_dispose;
}