From: Pierre-Luc Beaudoin Date: Thu, 26 Feb 2009 18:59:37 +0000 (+0200) Subject: Don't reposition the markers on idle X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02525579c2b6fa1d415f5c25df91ef26a5bac21;p=libchamplain Don't reposition the markers on idle because the function is not called (or too late) when there is an animation going on. It makes the markers disapear for a moment. --- diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c index 7b6e4e3..2623032 100644 --- a/champlain/champlain-view.c +++ b/champlain/champlain-view.c @@ -1004,7 +1004,7 @@ champlain_view_center_on (ChamplainView *view, g_object_notify (G_OBJECT (view), "latitude"); map_load_visible_tiles (priv->map, priv->viewport_size, priv->offline); - g_idle_add (marker_reposition, view); + marker_reposition (view); } /**