]> err.no Git - libchamplain/commitdiff
No need to set zoom-level min and max twice
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Sat, 25 Apr 2009 06:29:50 +0000 (08:29 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 26 Apr 2009 15:44:39 +0000 (11:44 -0400)
champlain/champlain-view.c

index 18702a7b5833f9c3b36f4faccb866e62ef925cd4..df7c27690c2b84b043507e9e4e61c2a982927a10 100644 (file)
@@ -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;