[libgweather] location: Fix gir-scanner compile time error
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather] location: Fix gir-scanner compile time error
- Date: Mon, 4 Dec 2017 10:20:19 +0000 (UTC)
commit b1cb7dcabb82f06dc287ed336080ce2686f3ee91
Author: Bastien Nocera <hadess hadess net>
Date: Thu Nov 30 12:32:58 2017 +0100
location: Fix gir-scanner compile time error
libgweather/gweather-location.c:804: Warning: GWeather: gweather_location_detect_nearest_city: invalid
return annotation
There's nothing returned from the function, so no need to document
"Returns".
https://bugzilla.gnome.org/show_bug.cgi?id=791066
libgweather/gweather-location.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libgweather/gweather-location.c b/libgweather/gweather-location.c
index 500ff80..ba3ead4 100644
--- a/libgweather/gweather-location.c
+++ b/libgweather/gweather-location.c
@@ -758,8 +758,6 @@ _got_place (GObject *source_object,
* @loc must be at most a %GWEATHER_LOCATION_ADM2 location.
* This restriction may be lifted in a future version.
*
- * Returns: void
- *
* Since: 3.12
*/
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]