From: Emmanuel Rodriguez Date: Sat, 25 Apr 2009 06:29:50 +0000 (+0200) Subject: No need to set zoom-level min and max twice X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=188c785aca05ebac68544a67b35b7df2e2085411;p=libchamplain No need to set zoom-level min and max twice --- diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c index 18702a7..df7c276 100644 --- a/champlain/champlain-view.c +++ b/champlain/champlain-view.c @@ -1530,9 +1530,6 @@ champlain_view_set_map_source (ChamplainView *view, priv->min_zoom_level = champlain_map_source_get_min_zoom_level (priv->map_source); priv->max_zoom_level = champlain_map_source_get_max_zoom_level (priv->map_source); - priv->min_zoom_level = champlain_map_source_get_min_zoom_level (priv->map_source); - priv->max_zoom_level = champlain_map_source_get_max_zoom_level (priv->map_source); - if (priv->map == NULL) return;