[tepl] Bump API/major version to 5
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] Bump API/major version to 5
- Date: Sat, 18 Apr 2020 17:15:13 +0000 (UTC)
commit f28d90a5e866e5d366dca74edd532dbb0bc20962
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Apr 2 12:13:46 2020 +0200
Bump API/major version to 5
Since there have been API breaks (see previous commit).
docs/reference/tepl-docs.xml | 6 +++---
meson.build | 8 ++++----
tepl/tepl-info-bar.c | 2 +-
tepl/tepl-io-error-info-bars.c | 8 ++++----
tepl/tepl-metadata-store.c | 20 ++++++++++----------
tepl/tepl-utils.c | 6 +++---
6 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/docs/reference/tepl-docs.xml b/docs/reference/tepl-docs.xml
index 4bf62bd..37e104a 100644
--- a/docs/reference/tepl-docs.xml
+++ b/docs/reference/tepl-docs.xml
@@ -104,9 +104,9 @@
<title>Index of new symbols in 4.4</title>
<xi:include href="xml/api-index-4.4.xml"><xi:fallback /></xi:include>
</index>
- <index id="api-index-4-6" role="4.6">
- <title>Index of new symbols in 4.6</title>
- <xi:include href="xml/api-index-4.6.xml"><xi:fallback /></xi:include>
+ <index id="api-index-5-0" role="5.0">
+ <title>Index of new symbols in 5.0</title>
+ <xi:include href="xml/api-index-5.0.xml"><xi:fallback /></xi:include>
</index>
</part>
</book>
diff --git a/meson.build b/meson.build
index f004e19..1dee544 100644
--- a/meson.build
+++ b/meson.build
@@ -6,7 +6,7 @@
project(
'tepl', 'c',
meson_version: '>= 0.53',
- version: '4.5.0',
+ version: '4.99.0',
default_options: ['warning_level=2']
)
@@ -33,13 +33,13 @@ I18N = import('i18n')
#
# When incrementing the API version (usually for a new major package version),
# set CURRENT, REVISION and AGE to 0 since it's like a new library.
-lt_current = 1
+lt_current = 0
lt_revision = 0
-lt_age = 1
+lt_age = 0
TEPL_LT_VERSION = '@0@.@1@.@2@'.format(lt_current, lt_revision, lt_age)
# API version, used for parallel installability.
-TEPL_API_VERSION = '4'
+TEPL_API_VERSION = '5'
TEPL_PUBLIC_DEPS = [
dependency('gio-2.0', version: '>= 2.64'),
diff --git a/tepl/tepl-info-bar.c b/tepl/tepl-info-bar.c
index 800b008..985d1ca 100644
--- a/tepl/tepl-info-bar.c
+++ b/tepl/tepl-info-bar.c
@@ -362,7 +362,7 @@ tepl_info_bar_add_close_button (TeplInfoBar *info_bar)
* are packed vertically, there is usually no problem. A vertical action area
* also follows the original design of #GtkInfoBar.
*
- * Since: 4.6
+ * Since: 5.0
*/
void
tepl_info_bar_set_buttons_orientation (TeplInfoBar *info_bar,
diff --git a/tepl/tepl-io-error-info-bars.c b/tepl/tepl-io-error-info-bars.c
index 4aa9f95..de14dea 100644
--- a/tepl/tepl-io-error-info-bars.c
+++ b/tepl/tepl-io-error-info-bars.c
@@ -40,7 +40,7 @@
* - Don't edit: %GTK_RESPONSE_CANCEL.
*
* Returns: (transfer floating): the newly created #TeplInfoBar.
- * Since: 4.6
+ * Since: 5.0
*/
TeplInfoBar *
tepl_io_error_info_bar_file_already_open (GFile *location)
@@ -85,7 +85,7 @@ tepl_io_error_info_bar_file_already_open (GFile *location)
* - Don't save: %GTK_RESPONSE_CANCEL.
*
* Returns: (transfer floating): the newly created #TeplInfoBar.
- * Since: 4.6
+ * Since: 5.0
*/
/* TODO add another possible action: save as? */
TeplInfoBar *
@@ -148,7 +148,7 @@ tepl_io_error_info_bar_cant_create_backup (GFile *location,
* - A close button as added with gtk_info_bar_set_show_close_button().
*
* Returns: (transfer floating): the newly created #TeplInfoBar.
- * Since: 4.6
+ * Since: 5.0
*/
TeplInfoBar *
tepl_io_error_info_bar_externally_modified (GFile *location,
@@ -190,7 +190,7 @@ tepl_io_error_info_bar_externally_modified (GFile *location,
* - Don't save: %GTK_RESPONSE_CANCEL.
*
* Returns: (transfer floating): the newly created #TeplInfoBar.
- * Since: 4.6
+ * Since: 5.0
*/
TeplInfoBar *
tepl_io_error_info_bar_invalid_characters (GFile *location)
diff --git a/tepl/tepl-metadata-store.c b/tepl/tepl-metadata-store.c
index 1062470..abe3b50 100644
--- a/tepl/tepl-metadata-store.c
+++ b/tepl/tepl-metadata-store.c
@@ -261,7 +261,7 @@ tepl_metadata_store_class_init (TeplMetadataStoreClass *klass)
*
* %FALSE otherwise.
*
- * Since: 4.6
+ * Since: 5.0
*/
properties[PROP_LOADED] =
g_param_spec_boolean ("loaded",
@@ -291,7 +291,7 @@ tepl_metadata_store_init (TeplMetadataStore *store)
* tepl_metadata_store_get_singleton:
*
* Returns: (transfer none): the #TeplMetadataStore singleton instance.
- * Since: 4.6
+ * Since: 5.0
*/
TeplMetadataStore *
tepl_metadata_store_get_singleton (void)
@@ -333,7 +333,7 @@ _tepl_metadata_store_unref_singleton (void)
* @store_file, call tepl_metadata_store_load_async(). To save the metadata,
* call tepl_metadata_store_save().
*
- * Since: 4.6
+ * Since: 5.0
*/
void
tepl_metadata_store_set_store_file (TeplMetadataStore *store,
@@ -364,7 +364,7 @@ tepl_metadata_store_set_store_file (TeplMetadataStore *store,
* Upon saving, the #TeplMetadataStore discards the least recently accessed
* metadata if needed.
*
- * Since: 4.6
+ * Since: 5.0
*/
void
tepl_metadata_store_set_max_number_of_locations (TeplMetadataStore *store,
@@ -734,7 +734,7 @@ out:
*
* See the #GAsyncResult documentation to know how to use this function.
*
- * Since: 4.6
+ * Since: 5.0
*/
void
tepl_metadata_store_load_async (TeplMetadataStore *store,
@@ -774,7 +774,7 @@ tepl_metadata_store_load_async (TeplMetadataStore *store,
* function sets the #TeplMetadataStore:loaded property to %TRUE.
*
* Returns: whether the metadata was loaded successfully.
- * Since: 4.6
+ * Since: 5.0
*/
gboolean
tepl_metadata_store_load_finish (TeplMetadataStore *store,
@@ -797,7 +797,7 @@ tepl_metadata_store_load_finish (TeplMetadataStore *store,
* @store: the #TeplMetadataStore.
*
* Returns: the value of the #TeplMetadataStore:loaded property.
- * Since: 4.6
+ * Since: 5.0
*/
gboolean
tepl_metadata_store_is_loaded (TeplMetadataStore *store)
@@ -974,7 +974,7 @@ resize_hash_table_according_to_max_number_of_locations (TeplMetadataStore *store
* tepl_metadata_store_set_max_number_of_locations().
*
* Returns: whether the metadata was saved successfully.
- * Since: 4.6
+ * Since: 5.0
*/
gboolean
tepl_metadata_store_save (TeplMetadataStore *store,
@@ -1023,7 +1023,7 @@ tepl_metadata_store_save (TeplMetadataStore *store,
* Returns: (transfer full) (nullable): a #GFileInfo containing the metadata,
* under the "metadata" namespace. Or %NULL if there is no metadata for
* @location.
- * Since: 4.6
+ * Since: 5.0
*/
GFileInfo *
tepl_metadata_store_get_metadata_for_location (TeplMetadataStore *store,
@@ -1054,7 +1054,7 @@ tepl_metadata_store_get_metadata_for_location (TeplMetadataStore *store,
* @metadata: (nullable): a #GFileInfo containing the metadata, or %NULL to
* remove the metadata for @location.
*
- * Since: 4.6
+ * Since: 5.0
*/
void
tepl_metadata_store_set_metadata_for_location (TeplMetadataStore *store,
diff --git a/tepl/tepl-utils.c b/tepl/tepl-utils.c
index ea78318..bc529f5 100644
--- a/tepl/tepl-utils.c
+++ b/tepl/tepl-utils.c
@@ -326,7 +326,7 @@ null_ptr (gchar **ptr)
* all return value pointers should be freed using g_free().
*
* Returns: %TRUE if the uri could be properly decoded, %FALSE otherwise.
- * Since: 4.6
+ * Since: 5.0
*/
gboolean
tepl_utils_decode_uri (const gchar *uri,
@@ -520,7 +520,7 @@ _tepl_utils_get_fallback_basename_for_display (GFile *location)
*
* Returns: whether the directories are correctly created. %FALSE is returned on
* error.
- * Since: 4.6
+ * Since: 5.0
*/
gboolean
tepl_utils_create_parent_directories (GFile *file,
@@ -634,7 +634,7 @@ _tepl_utils_associate_secondary_window (GtkWindow *secondary_window,
*
* Shows a #GtkDialog with the provided warning message.
*
- * Since: 4.6
+ * Since: 5.0
*/
void
tepl_utils_show_warning_dialog (GtkWindow *parent,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]