]> git.0d.be Git - empathy.git/commitdiff
use champlain_marker_layer_new()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 21 Feb 2011 09:11:33 +0000 (10:11 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 21 Feb 2011 09:17:49 +0000 (10:17 +0100)
libempathy-gtk/empathy-contact-widget.c
libempathy-gtk/empathy-individual-widget.c
src/empathy-map-view.c

index 410b59f00e2824b7709fcdf7b3e3c96c59385ce2..59e84d457a5d78aedc9e8ea2441a19bd83ede65b 100644 (file)
@@ -959,7 +959,7 @@ contact_widget_location_update (EmpathyContactWidget *information)
           "zoom-level", 10,
           NULL);
 
-      layer = champlain_marker_layer_new_full (CHAMPLAIN_SELECTION_NONE);
+      layer = champlain_marker_layer_new ();
       champlain_view_add_layer (information->map_view, CHAMPLAIN_LAYER (layer));
 
       marker = champlain_label_new_with_text (
index 8ca5c0f731d885f270e5576098930ab54231d16e..5ff293fd2633700751b60fb50c9daf2a0d9f3b06 100644 (file)
@@ -742,7 +742,7 @@ location_update (EmpathyIndividualWidget *self)
           "zoom-level", 10,
           NULL);
 
-      layer = champlain_marker_layer_new_full (CHAMPLAIN_SELECTION_NONE);
+      layer = champlain_marker_layer_new ();
       champlain_view_add_layer (priv->map_view, CHAMPLAIN_LAYER (layer));
 
       /* FIXME: For now, we have to do this manually. Once libfolks grows a
index 626d830670d07991128fe30c9d2170f91a422115..675f7c4d7deab78febd46b2b5502aa6c60a12c24 100644 (file)
@@ -492,8 +492,7 @@ empathy_map_view_init (EmpathyMapView *self)
   gtk_container_add (GTK_CONTAINER (sw), embed);
   gtk_widget_show_all (embed);
 
-  priv->layer = g_object_ref (champlain_marker_layer_new_full (
-        CHAMPLAIN_SELECTION_NONE));
+  priv->layer = g_object_ref (champlain_marker_layer_new ());
   champlain_view_add_layer (priv->map_view, CHAMPLAIN_LAYER (priv->layer));
 
   g_signal_connect (priv->map_view, "notify::state",