1248 |
{ |
{ |
1249 |
OsmGpsMapPrivate *priv = map->priv; |
OsmGpsMapPrivate *priv = map->priv; |
1250 |
|
|
1251 |
|
/* on diablo the map comes up at 1x1 pixel size and */ |
1252 |
|
/* isn't really usable. ignore this */ |
1253 |
|
if((GTK_WIDGET(map)->allocation.width < 10) || |
1254 |
|
(GTK_WIDGET(map)->allocation.height < 10)) |
1255 |
|
return FALSE; |
1256 |
|
|
1257 |
priv->idle_map_redraw = 0; |
priv->idle_map_redraw = 0; |
1258 |
|
|
1259 |
/* don't redraw the entire map while the OSD is doing */ |
/* don't redraw the entire map while the OSD is doing */ |