aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-02-20 03:08:51 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-02-20 03:08:51 +0800
commit799f590a17eddb396c590c91c87192ee91f93e4b (patch)
treea35704dad9c2d88870dd21ded38e760fb7dbc9de /widgets/text
parentad7d90b2242ed1719d000de510acf56875c61ac7 (diff)
downloadgsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.gz
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.bz2
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.lz
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.xz
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.zst
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.zip
** Fix for bug #383438
2008-02-19 Milan Crha <mcrha@redhat.com> ** Fix for bug #383438 * text/e-text.c: (e_text_point): Report "mouse over" even with no text entered. svn path=/trunk/; revision=35056
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c2
1 files changed, 1 insertions, 1 deletions
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;