From 799f590a17eddb396c590c91c87192ee91f93e4b Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 19 Feb 2008 19:08:51 +0000 Subject: ** Fix for bug #383438 2008-02-19 Milan Crha ** Fix for bug #383438 * text/e-text.c: (e_text_point): Report "mouse over" even with no text entered. svn path=/trunk/; revision=35056 --- widgets/text/e-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/text') diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 69fc7498b7..a87ed77781 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1700,7 +1700,7 @@ e_text_point (GnomeCanvasItem *item, double x, double y, cy > text->clip_cy + clip_height) return 1; - if (text->fill_clip_rectangle) + if (text->fill_clip_rectangle || !text->text || !*text->text) return 0; cx -= text->cx; -- cgit v1.2.3