aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/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 /widgets/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 'widgets/text')
-rw-r--r--widgets/text/e-text.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 668a7315da..bda5f46eac 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -67,6 +67,9 @@
#include <libart_lgpl/art_rgb.h>
#include <libart_lgpl/art_rgb_bitmap_affine.h>
+#include <atk/atk.h>
+#include "gal/a11y/e-text/gal-a11y-e-text-factory.h"
+
#define PARENT_TYPE (gnome_canvas_item_get_type())
#define BORDER_INDENT 3
@@ -3594,6 +3597,11 @@ e_text_class_init (ETextClass *klass)
if (!clipboard_atom)
clipboard_atom = gdk_atom_intern ("CLIPBOARD", FALSE);
+
+ atk_registry_set_factory_type (atk_get_default_registry (),
+ E_TYPE_TEXT,
+ gal_a11y_e_text_factory_get_type ());
+
}
/* Object initialization function for the text item */