g_signal_connect (marker, "notify::longitude",
G_CALLBACK (notify_marker_reposition_cb), view);
- marker_reposition (view);
+ g_idle_add (marker_reposition, view);
}
static void
clutter_container_add_actor (CLUTTER_CONTAINER (priv->map_layer),
priv->map->current_level->group);
- marker_reposition (view);
+ g_idle_add (marker_reposition, view);
update_license (view);
g_object_notify (G_OBJECT (view), "zoom-level");
priv->map->current_level->group);
update_license (view);
- marker_reposition (view);
+ g_idle_add (marker_reposition, view);
champlain_view_center_on (view, priv->latitude, priv->longitude);
}
}
g_object_notify (G_OBJECT (view), "latitude");
map_load_visible_tiles (priv->map, priv->viewport_size, priv->offline);
- marker_reposition (view);
+ g_idle_add (marker_reposition, view);
}
/**
clutter_actor_raise_top (layer);
if (priv->map)
- marker_reposition (view);
+ g_idle_add (marker_reposition, view);
g_signal_connect_after (layer,
- "add",
+ "actor-added",
G_CALLBACK (layer_add_marker_cb),
view);