diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-map.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c index f39bdf7c8b..0611ff20bc 100644 --- a/widgets/misc/e-map.c +++ b/widgets/misc/e-map.c @@ -974,7 +974,8 @@ repaint_point (EMap *map, EMapPoint *point) { gdouble px, py; - if (!e_map_point_is_in_view (map, point)) return; + if (!gtk_widget_is_drawable (GTK_WIDGET (map))) + return; e_map_world_to_window (map, point->longitude, point->latitude, &px, &py); |