[gnome-builder/wip/gtk4-port] libide/plugins: update availability macros, and cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/plugins: update availability macros, and cleanup
- Date: Tue, 5 Apr 2022 00:17:02 +0000 (UTC)
commit 2b8e5eef6168c029cf2653f7702e06d4cada21e7
Author: Christian Hergert <chergert redhat com>
Date: Mon Apr 4 17:16:13 2022 -0700
libide/plugins: update availability macros, and cleanup
src/libide/plugins/ide-extension-adapter.h | 19 ++++++++++---------
src/libide/plugins/ide-extension-set-adapter.h | 25 +++++++++++++------------
src/libide/plugins/libide-plugins.h | 6 ++----
3 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/src/libide/plugins/ide-extension-adapter.h b/src/libide/plugins/ide-extension-adapter.h
index e8499ec69..34fc098c7 100644
--- a/src/libide/plugins/ide-extension-adapter.h
+++ b/src/libide/plugins/ide-extension-adapter.h
@@ -25,35 +25,36 @@
#endif
#include <libpeas/peas.h>
+
#include <libide-core.h>
G_BEGIN_DECLS
#define IDE_TYPE_EXTENSION_ADAPTER (ide_extension_adapter_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (IdeExtensionAdapter, ide_extension_adapter, IDE, EXTENSION_ADAPTER, IdeObject)
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeExtensionAdapter *ide_extension_adapter_new (IdeObject *parent,
PeasEngine *engine,
GType interface_type,
const gchar *key,
const gchar *value);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
PeasEngine *ide_extension_adapter_get_engine (IdeExtensionAdapter *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
gpointer ide_extension_adapter_get_extension (IdeExtensionAdapter *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
GType ide_extension_adapter_get_interface_type (IdeExtensionAdapter *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
const gchar *ide_extension_adapter_get_key (IdeExtensionAdapter *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_extension_adapter_set_key (IdeExtensionAdapter *self,
const gchar *key);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
const gchar *ide_extension_adapter_get_value (IdeExtensionAdapter *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_extension_adapter_set_value (IdeExtensionAdapter *self,
const gchar *value);
diff --git a/src/libide/plugins/ide-extension-set-adapter.h b/src/libide/plugins/ide-extension-set-adapter.h
index 16b213e82..46e0820ca 100644
--- a/src/libide/plugins/ide-extension-set-adapter.h
+++ b/src/libide/plugins/ide-extension-set-adapter.h
@@ -25,13 +25,14 @@
#endif
#include <libpeas/peas.h>
+
#include <libide-core.h>
G_BEGIN_DECLS
#define IDE_TYPE_EXTENSION_SET_ADAPTER (ide_extension_set_adapter_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (IdeExtensionSetAdapter, ide_extension_set_adapter, IDE, EXTENSION_SET_ADAPTER,
IdeObject)
typedef void (*IdeExtensionSetAdapterForeachFunc) (IdeExtensionSetAdapter *set,
@@ -39,37 +40,37 @@ typedef void (*IdeExtensionSetAdapterForeachFunc) (IdeExtensionSetAdapter *set,
PeasExtension *extension,
gpointer user_data);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeExtensionSetAdapter *ide_extension_set_adapter_new (IdeObject
*parent,
PeasEngine
*engine,
GType
interface_type,
const gchar
*key,
const gchar
*value);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
PeasEngine *ide_extension_set_adapter_get_engine (IdeExtensionSetAdapter
*self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
GType ide_extension_set_adapter_get_interface_type (IdeExtensionSetAdapter
*self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
const gchar *ide_extension_set_adapter_get_key (IdeExtensionSetAdapter
*self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_extension_set_adapter_set_key (IdeExtensionSetAdapter
*self,
const gchar
*key);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
const gchar *ide_extension_set_adapter_get_value (IdeExtensionSetAdapter
*self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_extension_set_adapter_set_value (IdeExtensionSetAdapter
*self,
const gchar
*value);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
guint ide_extension_set_adapter_get_n_extensions (IdeExtensionSetAdapter
*self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_extension_set_adapter_foreach (IdeExtensionSetAdapter
*self,
IdeExtensionSetAdapterForeachFunc
foreach_func,
gpointer
user_data);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_extension_set_adapter_foreach_by_priority (IdeExtensionSetAdapter
*self,
IdeExtensionSetAdapterForeachFunc
foreach_func,
gpointer
user_data);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
PeasExtension *ide_extension_set_adapter_get_extension (IdeExtensionSetAdapter
*self,
PeasPluginInfo
*plugin_info);
diff --git a/src/libide/plugins/libide-plugins.h b/src/libide/plugins/libide-plugins.h
index 1260890cd..91065a612 100644
--- a/src/libide/plugins/libide-plugins.h
+++ b/src/libide/plugins/libide-plugins.h
@@ -25,10 +25,8 @@
G_BEGIN_DECLS
#define IDE_PLUGINS_INSIDE
-
-#include "ide-extension-adapter.h"
-#include "ide-extension-set-adapter.h"
-
+# include "ide-extension-adapter.h"
+# include "ide-extension-set-adapter.h"
#undef IDE_PLUGINS_INSIDE
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]