GNOME Bugzilla – Bug 726186
Add new api to support filter function in find_nearest_city method
Last modified: 2014-04-01 20:52:23 UTC
This api should assume that the app is using geocoding itself and should pass the filter function as an argument to the function to make search process more efficient and strict.
Created attachment 271622 [details] [review] This suports filter function to find nearest city method
Review of attachment 271622 [details] [review]: ::: libgweather/gweather-location.c @@ +633,3 @@ + * longitude, among the descendants of @loc. We are looking for + * weather station instead of city to get a metar code information also of the + * nearest city. Just noticed this... who is we here?
Oh sorry, I should have written "Look for ... "
Created attachment 271639 [details] [review] Tried to correct indentation and documentation.
Review of attachment 271639 [details] [review]: ::: libgweather/gweather-location.c @@ +633,3 @@ + * longitude, among the descendants of @loc. Looks for the + * nearest weather station in foreach_city method instead + * of city to get a metar code information for location. I must say I still don't get what this is supposed to mean... @@ +652,3 @@ + GWeatherFilterFunc func, + gpointer user_data, + GDestroyNotify destroy) You need to align both the type and the parameter name.
Created attachment 271653 [details] [review] corrected.
Review of attachment 271653 [details] [review]: Yep.
Pushed