[gnome-builder/wip/gtk4-port: 631/1774] libide/foundry: cleanup device manager style




commit ab8ca81860bf46d1479807b4c1a54e504515d733
Author: Christian Hergert <chergert redhat com>
Date:   Tue Apr 19 13:52:19 2022 -0700

    libide/foundry: cleanup device manager style

 src/libide/foundry/ide-device-manager.c |  8 ++--
 src/libide/foundry/ide-device-manager.h | 66 ++++++++++++++++-----------------
 2 files changed, 37 insertions(+), 37 deletions(-)
---
diff --git a/src/libide/foundry/ide-device-manager.c b/src/libide/foundry/ide-device-manager.c
index c35119522..205f641b3 100644
--- a/src/libide/foundry/ide-device-manager.c
+++ b/src/libide/foundry/ide-device-manager.c
@@ -101,10 +101,10 @@ IDE_DEFINE_ACTION_GROUP (IdeDeviceManager, ide_device_manager, {
 })
 
 G_DEFINE_FINAL_TYPE_WITH_CODE (IdeDeviceManager, ide_device_manager, IDE_TYPE_OBJECT,
-                         G_IMPLEMENT_INTERFACE (G_TYPE_ACTION_GROUP,
-                                                ide_device_manager_init_action_group)
-                         G_IMPLEMENT_INTERFACE (G_TYPE_ASYNC_INITABLE, async_initable_init_iface)
-                         G_IMPLEMENT_INTERFACE (G_TYPE_LIST_MODEL, list_model_init_interface))
+                               G_IMPLEMENT_INTERFACE (G_TYPE_ACTION_GROUP,
+                                                      ide_device_manager_init_action_group)
+                               G_IMPLEMENT_INTERFACE (G_TYPE_ASYNC_INITABLE, async_initable_init_iface)
+                               G_IMPLEMENT_INTERFACE (G_TYPE_LIST_MODEL, list_model_init_interface))
 
 enum {
   PROP_0,
diff --git a/src/libide/foundry/ide-device-manager.h b/src/libide/foundry/ide-device-manager.h
index 1e8f1ee20..f3ede77e3 100644
--- a/src/libide/foundry/ide-device-manager.h
+++ b/src/libide/foundry/ide-device-manager.h
@@ -32,40 +32,40 @@ G_BEGIN_DECLS
 
 #define IDE_TYPE_DEVICE_MANAGER (ide_device_manager_get_type())
 
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (IdeDeviceManager, ide_device_manager, IDE, DEVICE_MANAGER, IdeObject)
 
-IDE_AVAILABLE_IN_3_32
-IdeDeviceManager *ide_device_manager_from_context     (IdeContext           *context);
-IDE_AVAILABLE_IN_3_32
-gdouble           ide_device_manager_get_progress     (IdeDeviceManager     *self);
-IDE_AVAILABLE_IN_3_32
-IdeDevice        *ide_device_manager_get_device       (IdeDeviceManager     *self);
-IDE_AVAILABLE_IN_3_32
-void              ide_device_manager_set_device       (IdeDeviceManager     *self,
-                                                       IdeDevice            *device);
-IDE_AVAILABLE_IN_3_32
-IdeDevice        *ide_device_manager_get_device_by_id (IdeDeviceManager     *self,
-                                                       const gchar          *device_id);
-IDE_AVAILABLE_IN_3_32
-void              ide_device_manager_deploy_async     (IdeDeviceManager     *self,
-                                                       IdePipeline     *pipeline,
-                                                       GCancellable         *cancellable,
-                                                       GAsyncReadyCallback   callback,
-                                                       gpointer              user_data);
-IDE_AVAILABLE_IN_3_32
-gboolean          ide_device_manager_deploy_finish    (IdeDeviceManager     *self,
-                                                       GAsyncResult         *result,
-                                                       GError              **error);
-IDE_AVAILABLE_IN_41
-void              ide_device_manager_create_runner_async  (IdeDeviceManager    *self,
-                                                           IdePipeline         *pipeline,
-                                                           GCancellable        *cancellable,
-                                                           GAsyncReadyCallback  callback,
-                                                           gpointer             user_data);
-IDE_AVAILABLE_IN_41
-IdeRunner        *ide_device_manager_create_runner_finish (IdeDeviceManager  *self,
-                                                           GAsyncResult      *result,
-                                                           GError           **error);
+IDE_AVAILABLE_IN_ALL
+IdeDeviceManager *ide_device_manager_from_context         (IdeContext           *context);
+IDE_AVAILABLE_IN_ALL
+gdouble           ide_device_manager_get_progress         (IdeDeviceManager     *self);
+IDE_AVAILABLE_IN_ALL
+IdeDevice        *ide_device_manager_get_device           (IdeDeviceManager     *self);
+IDE_AVAILABLE_IN_ALL
+void              ide_device_manager_set_device           (IdeDeviceManager     *self,
+                                                           IdeDevice            *device);
+IDE_AVAILABLE_IN_ALL
+IdeDevice        *ide_device_manager_get_device_by_id     (IdeDeviceManager     *self,
+                                                           const gchar          *device_id);
+IDE_AVAILABLE_IN_ALL
+void              ide_device_manager_deploy_async         (IdeDeviceManager     *self,
+                                                           IdePipeline          *pipeline,
+                                                           GCancellable         *cancellable,
+                                                           GAsyncReadyCallback   callback,
+                                                           gpointer              user_data);
+IDE_AVAILABLE_IN_ALL
+gboolean          ide_device_manager_deploy_finish        (IdeDeviceManager     *self,
+                                                           GAsyncResult         *result,
+                                                           GError              **error);
+IDE_AVAILABLE_IN_ALL
+void              ide_device_manager_create_runner_async  (IdeDeviceManager     *self,
+                                                           IdePipeline          *pipeline,
+                                                           GCancellable         *cancellable,
+                                                           GAsyncReadyCallback   callback,
+                                                           gpointer              user_data);
+IDE_AVAILABLE_IN_ALL
+IdeRunner        *ide_device_manager_create_runner_finish (IdeDeviceManager     *self,
+                                                           GAsyncResult         *result,
+                                                           GError              **error);
 
 G_END_DECLS


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