Function

GWeatherFilterFunc

Declaration

gboolean
(* GWeatherFilterFunc) (
  GWeatherLocation* location,
  gpointer user_data
)

Description [src]

A filter function for locations.

Parameters

location GWeatherLocation
 

The location to check.

 The data is owned by the caller of the function.
user_data gpointer
 

Data passed to gweather_location_find_nearest_city_full()

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

FALSE if the location should be skipped, and TRUE otherwise.