aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-map-view.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-21 17:17:13 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-21 17:17:49 +0800
commit7c0535692bcdc2c3cc0614ebd06e2bf24cdfd921 (patch)
tree0d49400de8b28a4e86fc65fee4457168130d7c67 /src/empathy-map-view.c
parent72b084c00c702917f32cc3f750fb648d9e191d2c (diff)
downloadgsoc2013-empathy-7c0535692bcdc2c3cc0614ebd06e2bf24cdfd921.tar
gsoc2013-empathy-7c0535692bcdc2c3cc0614ebd06e2bf24cdfd921.tar.gz
gsoc2013-empathy-7c0535692bcdc2c3cc0614ebd06e2bf24cdfd921.tar.bz2
gsoc2013-empathy-7c0535692bcdc2c3cc0614ebd06e2bf24cdfd921.tar.lz
gsoc2013-empathy-7c0535692bcdc2c3cc0614ebd06e2bf24cdfd921.tar.xz
gsoc2013-empathy-7c0535692bcdc2c3cc0614ebd06e2bf24cdfd921.tar.zst
gsoc2013-empathy-7c0535692bcdc2c3cc0614ebd06e2bf24cdfd921.zip
use champlain_view_ensure_layers_visible()
Diffstat (limited to 'src/empathy-map-view.c')
-rw-r--r--src/empathy-map-view.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c
index 675f7c4d7..b7a2e1975 100644
--- a/src/empathy-map-view.c
+++ b/src/empathy-map-view.c
@@ -178,10 +178,8 @@ map_view_zoom_fit_cb (GtkWidget *widget,
EmpathyMapView *self)
{
EmpathyMapViewPriv *priv = GET_PRIV (self);
- ChamplainBoundingBox *bbox;
- bbox = champlain_layer_get_bounding_box (CHAMPLAIN_LAYER (priv->layer));
- champlain_view_ensure_visible (priv->map_view, bbox, TRUE);
+ champlain_view_ensure_layers_visible (priv->map_view, TRUE);
}
static gboolean