summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-10-13 12:43:48 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-10-13 13:03:52 +0100
commitdbe1ac0352d240b630239d032b2352c04d5df328 (patch)
tree26ff8e2911e826f2d8bfe0c42d6f2575f1292a3e
parentc4c161445d95c0a9e48b59f893988ef1f043e16a (diff)
downloadlibgweather-dbe1ac0352d240b630239d032b2352c04d5df328.tar.gz
docs: Remove all "Since" annotations
The major API has been reset, there's no need to have a "Since" annotation, as all symbols are available from this version until the next major API break.
-rw-r--r--libgweather/gweather-location.c16
-rw-r--r--libgweather/gweather-timezone.c2
-rw-r--r--libgweather/gweather-version.h.in12
3 files changed, 2 insertions, 28 deletions
diff --git a/libgweather/gweather-location.c b/libgweather/gweather-location.c
index 760f1ec..244f55f 100644
--- a/libgweather/gweather-location.c
+++ b/libgweather/gweather-location.c
@@ -339,7 +339,6 @@ gweather_location_get_sort_name (GWeatherLocation *loc)
* Gets @loc's English name.
*
* Return value: @loc's English name
- * Since: 3.36
**/
const char *
gweather_location_get_english_name (GWeatherLocation *loc)
@@ -365,7 +364,6 @@ gweather_location_get_english_name (GWeatherLocation *loc)
* user input against a location name.
*
* Return value: @loc's English name for sorting
- * Since: 3.38
**/
const char *
gweather_location_get_english_sort_name (GWeatherLocation *loc)
@@ -489,8 +487,6 @@ gweather_location_get_parent (GWeatherLocation *loc)
* ]|
*
* Returns: (transfer full) (nullable): The next child, or %NULL
- *
- * Since: 40
**/
GWeatherLocation*
gweather_location_next_child (GWeatherLocation *loc, GWeatherLocation *_child)
@@ -716,9 +712,7 @@ find_nearest_city (GWeatherLocation *location,
* @loc, or are in the same region and timezone as the return value.
*
* Returns: (transfer full): the city closest to (@lat, @lon), in the
- * region or administrative district of @loc.
- *
- * Since: 3.12
+ * region or administrative district of @loc.
*/
GWeatherLocation *
gweather_location_find_nearest_city (GWeatherLocation *loc,
@@ -769,9 +763,7 @@ gweather_location_find_nearest_city (GWeatherLocation *loc,
* This restriction may be lifted in a future version.
*
* Returns: (transfer full): the city closest to (@lat, @lon), in the
- * region or administrative district of @loc with validation of filter function.
- *
- * Since: 3.12
+ * region or administrative district of @loc with validation of filter function.
*/
GWeatherLocation *
gweather_location_find_nearest_city_full (GWeatherLocation *loc,
@@ -864,8 +856,6 @@ _got_place (GObject *source_object,
*
* @loc must be at most a %GWEATHER_LOCATION_ADM1 location.
* This restriction may be lifted in a future version.
- *
- * Since: 3.12
*/
void
gweather_location_detect_nearest_city (GWeatherLocation *loc,
@@ -909,8 +899,6 @@ gweather_location_detect_nearest_city (GWeatherLocation *loc,
* Fetches the location from @result.
*
* Returns: (transfer full): Customized GWeatherLocation
- *
- * Since: 3.12
*/
GWeatherLocation *
diff --git a/libgweather/gweather-timezone.c b/libgweather/gweather-timezone.c
index 87d2100..2925f97 100644
--- a/libgweather/gweather-timezone.c
+++ b/libgweather/gweather-timezone.c
@@ -182,8 +182,6 @@ _gweather_timezone_ref_for_idx (GWeatherDb *db,
* Prior to version 40 no reference was returned.
*
* Returns: (transfer full): A #GWeatherTimezone.
- *
- * Since: 3.12
*/
GWeatherTimezone *
gweather_timezone_get_by_tzid (const char *tzid)
diff --git a/libgweather/gweather-version.h.in b/libgweather/gweather-version.h.in
index 799e401..776438f 100644
--- a/libgweather/gweather-version.h.in
+++ b/libgweather/gweather-version.h.in
@@ -40,8 +40,6 @@
* GWEATHER_MAJOR_VERSION:
*
* LibGweather major version component (e.g. 1 if %GWEATHER_VERSION is 1.2.3)
- *
- * Since: 3.12
*/
#mesondefine GWEATHER_MAJOR_VERSION
@@ -49,8 +47,6 @@
* GWEATHER_MINOR_VERSION:
*
* LibGweather minor version component (e.g. 2 if %GWEATHER_VERSION is 1.2.3)
- *
- * Since: 3.12
*/
#mesondefine GWEATHER_MINOR_VERSION
@@ -60,8 +56,6 @@
* LibGweather micro version component (e.g. 3 if %GWEATHER_VERSION is 1.2.3)
*
* Since version 40 of the library, always 0.
- *
- * Since: 3.12
*/
#mesondefine GWEATHER_MICRO_VERSION
@@ -69,8 +63,6 @@
* GWEATHER_VERSION
*
* LibGweather version.
- *
- * Since: 3.12
*/
#mesondefine GWEATHER_VERSION
@@ -79,8 +71,6 @@
*
* LibGweather version, encoded as an hexadecimal number, useful for
* integer comparisons.
- *
- * Since: 3.12
*/
#define GWEATHER_VERSION_HEX (GWEATHER_MAJOR_VERSION << 24 | \
GWEATHER_MINOR_VERSION << 16 | \
@@ -94,8 +84,6 @@
*
* Compile-time version checking. Evaluates to %TRUE if the version
* of LibGweather is greater than the required one.
- *
- * Since: 3.12
*/
#define GWEATHER_CHECK_VERSION(major,minor,micro) \
(GWEATHER_MAJOR_VERSION > (major) || \