aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-map-view.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-08-19 03:45:22 +0800
committerPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-08-19 04:21:43 +0800
commitdeb6b846017739eab6f148aed544688dc7515af5 (patch)
tree86ed30431f57a73f50951a23c0112a9761901c31 /src/empathy-map-view.c
parentb9d913aced1b76300ce6b18b53878b4f40cf2264 (diff)
downloadgsoc2013-empathy-deb6b846017739eab6f148aed544688dc7515af5.tar
gsoc2013-empathy-deb6b846017739eab6f148aed544688dc7515af5.tar.gz
gsoc2013-empathy-deb6b846017739eab6f148aed544688dc7515af5.tar.bz2
gsoc2013-empathy-deb6b846017739eab6f148aed544688dc7515af5.tar.lz
gsoc2013-empathy-deb6b846017739eab6f148aed544688dc7515af5.tar.xz
gsoc2013-empathy-deb6b846017739eab6f148aed544688dc7515af5.tar.zst
gsoc2013-empathy-deb6b846017739eab6f148aed544688dc7515af5.zip
Animate show in and out of markers
Diffstat (limited to 'src/empathy-map-view.c')
-rw-r--r--src/empathy-map-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c
index 44d3eddbe..8df13922a 100644
--- a/src/empathy-map-view.c
+++ b/src/empathy-map-view.c
@@ -83,7 +83,7 @@ map_view_marker_update_position (ChamplainMarker *marker,
if (location == NULL ||
g_hash_table_size (location) == 0)
{
- clutter_actor_hide (CLUTTER_ACTOR (marker));
+ champlain_base_marker_animate_out (CHAMPLAIN_BASE_MARKER (marker));
return;
}
@@ -103,8 +103,8 @@ map_view_marker_update_position (ChamplainMarker *marker,
}
lon = g_value_get_double (value);
- clutter_actor_show (CLUTTER_ACTOR (marker));
champlain_base_marker_set_position (CHAMPLAIN_BASE_MARKER (marker), lat, lon);
+ champlain_base_marker_animate_in (CHAMPLAIN_BASE_MARKER (marker));
}
static void