diff options
Diffstat (limited to 'src/empathy-map-view.c')
-rw-r--r-- | src/empathy-map-view.c | 4 |
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 |