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

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

revision 149 by harbaum, Wed Oct 28 11:50:37 2009 UTC revision 150 by harbaum, Thu Oct 29 20:25:11 2009 UTC
# Line 1249  osm_gps_map_map_redraw (OsmGpsMap *map) Line 1249  osm_gps_map_map_redraw (OsmGpsMap *map)
1249      OsmGpsMapPrivate *priv = map->priv;      OsmGpsMapPrivate *priv = map->priv;
1250    
1251      /* on diablo the map comes up at 1x1 pixel size and */      /* on diablo the map comes up at 1x1 pixel size and */
1252      /* isn't really usable. ignore this */      /* isn't really usable. we'll just ignore this ... */
1253      if((GTK_WIDGET(map)->allocation.width < 10) ||      if((GTK_WIDGET(map)->allocation.width < 2) ||
1254         (GTK_WIDGET(map)->allocation.height < 10))         (GTK_WIDGET(map)->allocation.height < 2)) {
1255            printf("not a useful sized map yet ...\n");
1256          return FALSE;          return FALSE;
1257        }
1258    
1259      priv->idle_map_redraw = 0;      priv->idle_map_redraw = 0;
1260    

Legend:
Removed from v.149  
changed lines
  Added in v.150