From: Pierre-Luc Beaudoin Date: Sun, 28 Sep 2008 11:03:54 +0000 (-0400) Subject: Use ChamplainLayer X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9586e06679b22ac4852dfbb6dcd0f043d3b4306f;p=libchamplain Use ChamplainLayer --- diff --git a/champlain-gtk/launcher.c b/champlain-gtk/launcher.c index ced334d..c13a9e3 100644 --- a/champlain-gtk/launcher.c +++ b/champlain-gtk/launcher.c @@ -41,7 +41,7 @@ create_marker_layer () { ClutterActor *layer, *marker; - layer = clutter_group_new(); + layer = champlain_layer_new(); ClutterColor orange = { 0xf3, 0x94, 0x07, 0xbb }; ClutterColor white = { 0xff, 0xff, 0xff, 0xff }; @@ -57,7 +57,7 @@ create_marker_layer () champlain_marker_set_position(CHAMPLAIN_MARKER(marker), 47.130885, -70.764141); clutter_container_add(CLUTTER_CONTAINER(layer), marker, NULL); - clutter_actor_hide(layer); + clutter_actor_show(layer); return layer; }