From a8241ce35f070da1fc999e06915653c8c8f45b15 Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Wed, 24 Jan 2007 08:58:44 +0000 Subject: Fixes #400121. 2007-01-24 Wang Xin * e-text/gal-a11y-e-text.c: Fixes #400121. svn path=/trunk/; revision=33145 --- a11y/e-text/gal-a11y-e-text.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'a11y/e-text') 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; } -- cgit v1.2.3