Diff of /trunk/src/osm-gps-map.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by harbaum, Mon Sep 7 06:16:06 2009 UTC revision 98 by harbaum, Mon Sep 7 13:20:37 2009 UTC
# Line 2807  osm_gps_map_set_zoom (OsmGpsMap *map, in Line 2807  osm_gps_map_set_zoom (OsmGpsMap *map, in
2807          g_debug("Zoom changed from %d to %d factor:%f x:%d",          g_debug("Zoom changed from %d to %d factor:%f x:%d",
2808                  zoom_old, priv->map_zoom, factor, priv->map_x);                  zoom_old, priv->map_zoom, factor, priv->map_x);
2809    
2810    #ifdef ENABLE_OSD
2811            /* OSD may contain a scale, so we may have to re-render it */
2812            if(priv->osd && OSM_IS_GPS_MAP (priv->osd->widget))
2813                priv->osd->render (priv->osd);
2814    #endif
2815    
2816          osm_gps_map_map_redraw_idle(map);          osm_gps_map_map_redraw_idle(map);
2817      }      }
2818      return priv->map_zoom;      return priv->map_zoom;

Legend:
Removed from v.97  
changed lines
  Added in v.98