aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-contact-widget.c2
-rw-r--r--libempathy-gtk/empathy-individual-widget.c2
-rw-r--r--src/empathy-map-view.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 410b59f00..59e84d457 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -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 (
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index 8ca5c0f73..5ff293fd2 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -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
diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c
index 626d83067..675f7c4d7 100644
--- a/src/empathy-map-view.c
+++ b/src/empathy-map-view.c
@@ -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",