[empathy] use champlain_marker_layer_new()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] use champlain_marker_layer_new()
- Date: Mon, 21 Feb 2011 09:18:09 +0000 (UTC)
commit 72b084c00c702917f32cc3f750fb648d9e191d2c
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Feb 21 10:11:33 2011 +0100
use champlain_marker_layer_new()
libempathy-gtk/empathy-contact-widget.c | 2 +-
libempathy-gtk/empathy-individual-widget.c | 2 +-
src/empathy-map-view.c | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 410b59f..59e84d4 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 8ca5c0f..5ff293f 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 626d830..675f7c4 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]