GPS icon [was: Re: Plans [was: Re: Gconf or GSettings? - leading to a wider question]]
Linus Torvalds
torvalds at linux-foundation.org
Tue Jan 22 20:39:22 PST 2013
On Tue, Jan 22, 2013 at 8:37 PM, Linus Torvalds
<torvalds at linux-foundation.org> wrote:
>
> The obvious fix to check for
>
> if (dive && (dive->latitude.udeg || dive->longitude.udeg))
>
> instead, and that fixes it.
Actually, do
if (dive && dive_has_location(dive))
instead. Prettier that way,
Linus
More information about the subsurface
mailing list