[gnome-builder] libide-code: cleanup code-action availability



commit 089a5726c21220ab887e7659509ad7a37629dae9
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 11 16:19:12 2022 -0700

    libide-code: cleanup code-action availability

 src/libide/code/ide-code-action-provider.c |  2 --
 src/libide/code/ide-code-action-provider.h | 10 +++++-----
 src/libide/code/ide-code-action.h          |  8 ++++----
 3 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/src/libide/code/ide-code-action-provider.c b/src/libide/code/ide-code-action-provider.c
index 4770a6f87..260b0681b 100644
--- a/src/libide/code/ide-code-action-provider.c
+++ b/src/libide/code/ide-code-action-provider.c
@@ -101,8 +101,6 @@ ide_code_action_provider_query_async (IdeCodeActionProvider *self,
  * Completes an asynchronous request to ide_code_action_provider_query_async().
  *
  * Returns: (transfer full) (element-type IdeCodeAction): a #GPtrArray of #IdeCodeAction.
- *
- * Since: 42.0
  */
 GPtrArray*
 ide_code_action_provider_query_finish (IdeCodeActionProvider  *self,
diff --git a/src/libide/code/ide-code-action-provider.h b/src/libide/code/ide-code-action-provider.h
index 7ecbae9b0..06cfda5c1 100644
--- a/src/libide/code/ide-code-action-provider.h
+++ b/src/libide/code/ide-code-action-provider.h
@@ -34,7 +34,7 @@ G_BEGIN_DECLS
 
 #define IDE_TYPE_CODE_ACTION_PROVIDER (ide_code_action_provider_get_type())
 
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 G_DECLARE_INTERFACE (IdeCodeActionProvider, ide_code_action_provider, IDE, CODE_ACTION_PROVIDER, IdeObject)
 
 struct _IdeCodeActionProviderInterface
@@ -54,19 +54,19 @@ struct _IdeCodeActionProviderInterface
                                     IdeDiagnostics         *diags);
 };
 
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 void       ide_code_action_provider_load            (IdeCodeActionProvider  *self);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 void       ide_code_action_provider_query_async     (IdeCodeActionProvider  *self,
                                                      IdeBuffer              *buffer,
                                                      GCancellable           *cancellable,
                                                      GAsyncReadyCallback     callback,
                                                      gpointer                user_data);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 GPtrArray *ide_code_action_provider_query_finish    (IdeCodeActionProvider  *self,
                                                      GAsyncResult           *result,
                                                      GError                **error);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 void       ide_code_action_provider_set_diagnostics (IdeCodeActionProvider  *self,
                                                      IdeDiagnostics         *diags);
 
diff --git a/src/libide/code/ide-code-action.h b/src/libide/code/ide-code-action.h
index 5848a9445..916f5d7d3 100644
--- a/src/libide/code/ide-code-action.h
+++ b/src/libide/code/ide-code-action.h
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
 
 #define IDE_TYPE_CODE_ACTION (ide_code_action_get_type())
 
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 G_DECLARE_INTERFACE (IdeCodeAction, ide_code_action, IDE, CODE_ACTION, IdeObject)
 
 struct _IdeCodeActionInterface
@@ -50,14 +50,14 @@ struct _IdeCodeActionInterface
                                   GError              **error);
 };
 
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 const gchar *ide_code_action_get_title      (IdeCodeAction        *self);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 void         ide_code_action_execute_async  (IdeCodeAction        *self,
                                              GCancellable         *cancellable,
                                              GAsyncReadyCallback   callback,
                                              gpointer              user_data);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
 gboolean     ide_code_action_execute_finish (IdeCodeAction        *self,
                                              GAsyncResult          *result,
                                              GError               **error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]