diff options
-rw-r--r-- | a11y/ChangeLog | 4 | ||||
-rw-r--r-- | a11y/e-text/gal-a11y-e-text.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/a11y/ChangeLog b/a11y/ChangeLog index 5e0451c524..66ab17d866 100644 --- a/a11y/ChangeLog +++ b/a11y/ChangeLog @@ -1,3 +1,7 @@ +2007-01-24 Wang Xin <jedy.wang@sun.com> + + * e-text/gal-a11y-e-text.c: Fixes #400121. + 2006-09-18 Matthew Barnes <mbarnes@redhat.com> Fixes #351332 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; } |