]> err.no Git - libchamplain/commitdiff
Use ChamplainLayer
authorPierre-Luc Beaudoin <pierre-luc@squidy.info>
Sun, 28 Sep 2008 11:03:54 +0000 (07:03 -0400)
committerPierre-Luc Beaudoin <pierre-luc@squidy.info>
Sun, 28 Sep 2008 11:03:54 +0000 (07:03 -0400)
champlain-gtk/launcher.c

index ced334dc1e643e1e1a7d90168e5916439a65a850..c13a9e3f047aad06ce03cd00e49064c09b870e99 100644 (file)
@@ -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;
 }