From 54ac432556b094630bdf5bad484062b3d72bb6e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Mon, 13 Dec 2021 09:18:08 +0100 Subject: [PATCH] trivial: Change mentions of 0.14.7 and 0.14.8 to 0.15.0 Those version never existed and were replaced by 0.15.0 --- src/as-component.c | 12 ++++++------ src/as-file-monitor.c | 14 +++++++------- src/as-pool.c | 28 ++++++++++++++-------------- src/as-utils.c | 2 +- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/as-component.c b/src/as-component.c index 2c97a4d0..cdbe76c0 100644 --- a/src/as-component.c +++ b/src/as-component.c @@ -1595,7 +1595,7 @@ as_component_set_developer_name (AsComponent *cpt, const gchar *value, const gch * * Remove all tags associated with this component. * - * Since: 0.14.8 + * Since: 0.15.0 */ void as_component_clear_tags (AsComponent *cpt) @@ -1614,7 +1614,7 @@ as_component_clear_tags (AsComponent *cpt) * * Returns: %TRUE if the tag was added. * - * Since: 0.14.8 + * Since: 0.15.0 */ gboolean as_component_add_tag (AsComponent *cpt, const gchar *ns, const gchar *tag) @@ -1647,7 +1647,7 @@ as_component_add_tag (AsComponent *cpt, const gchar *ns, const gchar *tag) * * Returns: %TRUE if the tag was removed. * - * Since: 0.14.8 + * Since: 0.15.0 */ gboolean as_component_remove_tag (AsComponent *cpt, const gchar *ns, const gchar *tag) @@ -1677,7 +1677,7 @@ as_component_remove_tag (AsComponent *cpt, const gchar *ns, const gchar *tag) * * Returns: %TRUE if tag exists. * - * Since: 0.14.8 + * Since: 0.15.0 */ gboolean as_component_has_tag (AsComponent *cpt, const gchar *ns, const gchar *tag) @@ -3296,7 +3296,7 @@ as_component_get_recommends (AsComponent *cpt) * * Returns: (transfer none) (element-type AsRelation): an array * - * Since: 0.14.8 + * Since: 0.15.0 **/ GPtrArray* as_component_get_supports (AsComponent *cpt) @@ -3343,7 +3343,7 @@ as_component_add_relation (AsComponent *cpt, AsRelation *relation) * * Returns: (transfer none) (element-type AsAgreement): An array of #AsAgreement. * - * Since: 0.14.8 + * Since: 0.15.0 **/ GPtrArray* as_component_get_agreements (AsComponent *cpt) diff --git a/src/as-file-monitor.c b/src/as-file-monitor.c index d559c4cd..98907d2b 100644 --- a/src/as-file-monitor.c +++ b/src/as-file-monitor.c @@ -60,7 +60,7 @@ static guint signals [SIGNAL_LAST] = { 0 }; * * Return value: An error quark. * - * Since: 0.14.8 + * Since: 0.15.0 **/ G_DEFINE_QUARK (as-file-monitor-error-quark, as_file_monitor_error) @@ -110,7 +110,7 @@ as_file_monitor_class_init (AsFileMonitorClass *klass) * * The ::changed signal is emitted when a file has been added. * - * Since: 0.14.8 + * Since: 0.15.0 **/ signals [SIGNAL_ADDED] = g_signal_new ("added", @@ -126,7 +126,7 @@ as_file_monitor_class_init (AsFileMonitorClass *klass) * * The ::changed signal is emitted when a file has been removed. * - * Since: 0.14.8 + * Since: 0.15.0 **/ signals [SIGNAL_REMOVED] = g_signal_new ("removed", @@ -142,7 +142,7 @@ as_file_monitor_class_init (AsFileMonitorClass *klass) * * The ::changed signal is emitted when a watched file has changed. * - * Since: 0.14.8 + * Since: 0.15.0 **/ signals [SIGNAL_CHANGED] = g_signal_new ("changed", @@ -408,7 +408,7 @@ as_file_monitor_file_changed_cb (GFileMonitor *mon, * * Returns: %TRUE for success * - * Since: 0.14.8 + * Since: 0.15.0 **/ gboolean as_file_monitor_add_directory (AsFileMonitor *monitor, @@ -461,7 +461,7 @@ as_file_monitor_add_directory (AsFileMonitor *monitor, * * Returns: %TRUE for success * - * Since: 0.14.8 + * Since: 0.15.0 **/ gboolean as_file_monitor_add_file (AsFileMonitor *monitor, @@ -503,7 +503,7 @@ as_file_monitor_add_file (AsFileMonitor *monitor, * * Returns: (transfer full): a #AsFileMonitor * - * Since: 0.14.8 + * Since: 0.15.0 **/ AsFileMonitor * as_file_monitor_new (void) diff --git a/src/as-pool.c b/src/as-pool.c index d1dfb223..5fad18de 100644 --- a/src/as-pool.c +++ b/src/as-pool.c @@ -428,7 +428,7 @@ as_pool_class_init (AsPoolClass *klass) * The ::changed signal is emitted when components have been added * or removed from the metadata pool. * - * Since: 0.14.8 + * Since: 0.15.0 **/ signals [SIGNAL_CHANGED] = g_signal_new ("changed", @@ -928,7 +928,7 @@ as_pool_add_component_internal (AsPool *pool, * * Returns: %TRUE if the new components were successfully added to the pool. * - * Since: 0.14.8 + * Since: 0.15.0 */ gboolean as_pool_add_components (AsPool *pool, GPtrArray *cpts, GError **error) @@ -949,7 +949,7 @@ as_pool_add_components (AsPool *pool, GPtrArray *cpts, GError **error) * * Returns: %TRUE if the new component was successfully added to the pool. * - * Deprecated: 0.14.7: This function is very inefficient. Collect all the components you need + * Deprecated: 0.15.0: This function is very inefficient. Collect all the components you need * to add, and then register them with %as_pool_add_components in one go. */ gboolean @@ -2038,7 +2038,7 @@ as_pool_get_components_by_launchable (AsPool *pool, * * Returns: (transfer container) (element-type AsComponent): an array of #AsComponent objects. * - * Since: 0.14.7 + * Since: 0.15.0 */ GPtrArray* as_pool_get_components_by_extends (AsPool *pool, const gchar *extended_id) @@ -2359,7 +2359,7 @@ as_pool_add_extra_data_location (AsPool *pool, const gchar *directory, AsFormatS * * Remove all explicitly added metadata locations. * - * Since: 0.14.7 + * Since: 0.15.0 */ void as_pool_reset_extra_data_locations (AsPool *pool) @@ -2496,7 +2496,7 @@ as_pool_print_std_data_locations_info_private (AsPool *pool, gboolean print_os_d * If @directory contains a "xml", "xmls", "yaml" or "icons" subdirectory (or all of them), * those paths will be added to the search paths instead. * - * Deprecated: 0.14.7: Use %as_pool_add_extra_data_location instead. + * Deprecated: 0.15.0: Use %as_pool_add_extra_data_location instead. */ void as_pool_add_metadata_location (AsPool *pool, const gchar *directory) @@ -2510,7 +2510,7 @@ as_pool_add_metadata_location (AsPool *pool, const gchar *directory) * * Remove all metadata locations from the list of watched locations. * - * Deprecated: 0.14.7: Use %as_pool_reset_extra_data_locations and control system data loading via flags. + * Deprecated: 0.15.0: Use %as_pool_reset_extra_data_locations and control system data loading via flags. */ void as_pool_clear_metadata_locations (AsPool *pool) @@ -2564,7 +2564,7 @@ as_pool_set_flags (AsPool *pool, AsPoolFlags flags) * Convenience function to add one or multiple #AsPoolFlags to * the flag set of this data pool. * - * Since: 0.14.7 + * Since: 0.15.0 */ void as_pool_add_flags (AsPool *pool, AsPoolFlags flags) @@ -2585,7 +2585,7 @@ as_pool_add_flags (AsPool *pool, AsPoolFlags flags) * Convenience function to remove one or multiple #AsPoolFlags from * the flag set of this data pool. * - * Since: 0.14.7 + * Since: 0.15.0 */ void as_pool_remove_flags (AsPool *pool, AsPoolFlags flags) @@ -2610,7 +2610,7 @@ as_pool_remove_flags (AsPool *pool, AsPoolFlags flags) * files and Flatpak data. * If you need more fine-grained control, set the #AsPoolFlags explicitly. * - * Since: 0.14.7 + * Since: 0.15.0 */ void as_pool_set_load_std_data_locations (AsPool *pool, gboolean enabled) @@ -2659,7 +2659,7 @@ as_pool_get_os_metadata_cache_age (AsPool *pool) * * Since: 0.12.7 * - * Deprecated: 0.14.7: Cache location can no longer be set explicitly. + * Deprecated: 0.15.0: Cache location can no longer be set explicitly. **/ void as_pool_set_cache_location (AsPool *pool, const gchar *fname) @@ -2673,7 +2673,7 @@ as_pool_set_cache_location (AsPool *pool, const gchar *fname) * * Get the #AsCacheFlags for this data pool. * - * Deprecated: 0.14.7: Cache flags can no longer be changed. + * Deprecated: 0.15.0: Cache flags can no longer be changed. */ AsCacheFlags as_pool_get_cache_flags (AsPool *pool) @@ -2688,7 +2688,7 @@ as_pool_get_cache_flags (AsPool *pool) * * Set the #AsCacheFlags for this data pool. * - * Deprecated: 0.14.7: Cache flags can no longer be modified. + * Deprecated: 0.15.0: Cache flags can no longer be modified. */ void as_pool_set_cache_flags (AsPool *pool, AsCacheFlags flags) @@ -2707,7 +2707,7 @@ as_pool_set_cache_flags (AsPool *pool, AsCacheFlags flags) * * Returns: Location of the cache, or %NULL if unknown. * - * Deprecated: 0.14.7: Cache location can no longer be set explicitly. + * Deprecated: 0.15.0: Cache location can no longer be set explicitly. **/ const gchar* as_pool_get_cache_location (AsPool *pool) diff --git a/src/as-utils.c b/src/as-utils.c index 9860cdb9..d5b8f51d 100644 --- a/src/as-utils.c +++ b/src/as-utils.c @@ -2448,7 +2448,7 @@ as_utils_find_stock_icon_filename_full (const gchar *root_dir, * * Returns: the #AsComponentScope * - * Since: 0.14.8 + * Since: 0.15.0 */ AsComponentScope as_utils_guess_scope_from_path (const gchar *path)