diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-map.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c index 11ca6de380..ea5c0aabcf 100644 --- a/widgets/misc/e-map.c +++ b/widgets/misc/e-map.c @@ -37,6 +37,7 @@ #include "e-util/gtk-compat.h" #define E_MAP_TWEEN_TIMEOUT_MSECS 25 +#define E_MAP_TWEEN_DURATION_MSECS 150 /* Scroll step increment */ @@ -857,7 +858,7 @@ e_map_zoom_to_location (EMap *map, gdouble longitude, gdouble latitude) e_map_set_zoom (map, E_MAP_ZOOMED_IN); center_at (map, longitude, latitude); - e_map_tween_new_from (map, 150, prevlong, prevlat, prevzoom); + e_map_tween_new_from (map, E_MAP_TWEEN_DURATION_MSECS, prevlong, prevlat, prevzoom); } void @@ -874,7 +875,7 @@ e_map_zoom_out (EMap *map) e_map_set_zoom (map, E_MAP_ZOOMED_OUT); center_at (map, longitude, latitude); - e_map_tween_new_from (map, 150, longitude, latitude, prevzoom); + e_map_tween_new_from (map, E_MAP_TWEEN_DURATION_MSECS, longitude, latitude, prevzoom); } void |