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 |
|
|