Method

GWeatherLocationget_coords

Declaration [src]

void
gweather_location_get_coords (
  GWeatherLocation* loc,
  double* latitude,
  double* longitude
)

Description [src]

Gets locs coordinates.

You must call gweather_location_has_coords() before calling this function.

Parameters

latitude double*
 

The return location for the latitude.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
longitude double*
 

The return location for the longitude.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.