aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-21 17:11:33 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-21 17:17:49 +0800
commit72b084c00c702917f32cc3f750fb648d9e191d2c (patch)
tree89b1fae887221c5681d301b16ddb0132a13733a2
parent1629b3b04f38eb748ae8385e407e01bfaf312a63 (diff)
downloadgsoc2013-empathy-72b084c00c702917f32cc3f750fb648d9e191d2c.tar
gsoc2013-empathy-72b084c00c702917f32cc3f750fb648d9e191d2c.tar.gz
gsoc2013-empathy-72b084c00c702917f32cc3f750fb648d9e191d2c.tar.bz2
gsoc2013-empathy-72b084c00c702917f32cc3f750fb648d9e191d2c.tar.lz
gsoc2013-empathy-72b084c00c702917f32cc3f750fb648d9e191d2c.tar.xz
gsoc2013-empathy-72b084c00c702917f32cc3f750fb648d9e191d2c.tar.zst
gsoc2013-empathy-72b084c00c702917f32cc3f750fb648d9e191d2c.zip
use champlain_marker_layer_new()
-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",