diff options
Diffstat (limited to 'a11y/e-text')
-rw-r--r-- | a11y/e-text/gal-a11y-e-text.c | 5 |
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; } |