aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/e-text
diff options
context:
space:
mode:
authorWang Xin <jedy.wang@sun.com>2007-01-24 16:58:44 +0800
committerJedy Jedy Wang <jedywang@src.gnome.org>2007-01-24 16:58:44 +0800
commita8241ce35f070da1fc999e06915653c8c8f45b15 (patch)
treef72ba1b0d1582a8bb58160bebd02214e80171364 /a11y/e-text
parent85dbf92af062b338cb855b878c75a7caff0c3cec (diff)
downloadgsoc2013-evolution-a8241ce35f070da1fc999e06915653c8c8f45b15.tar.gz
gsoc2013-evolution-a8241ce35f070da1fc999e06915653c8c8f45b15.tar.zst
gsoc2013-evolution-a8241ce35f070da1fc999e06915653c8c8f45b15.zip
Fixes #400121.
2007-01-24 Wang Xin <jedy.wang@sun.com> * e-text/gal-a11y-e-text.c: Fixes #400121. svn path=/trunk/; revision=33145
Diffstat (limited to 'a11y/e-text')
-rw-r--r--a11y/e-text/gal-a11y-e-text.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/a11y/e-text/gal-a11y-e-text.c b/a11y/e-text/gal-a11y-e-text.c
index 1fd0a63476..2d3b78991c 100644
--- a/a11y/e-text/gal-a11y-e-text.c
+++ b/a11y/e-text/gal-a11y-e-text.c
@@ -1026,8 +1026,9 @@ et_real_initialize (AtkObject *obj,
g_signal_connect (etext->model, "reposition",
G_CALLBACK (_et_reposition_cb), obj);
- g_signal_connect_after (etext->tep, "command",
- (GCallback) _et_command_cb, obj);
+ if (etext->tep)
+ g_signal_connect_after (etext->tep, "command",
+ (GCallback) _et_command_cb, obj);
obj->role = ATK_ROLE_TEXT;
}