summaryrefslogtreecommitdiff
path: root/libpeas/peas-plugin-info-priv.h
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2023-03-16 18:40:03 -0700
committerChristian Hergert <chergert@redhat.com>2023-03-22 16:44:35 -0700
commita56d7ed643ab481a2df29842141909e6a81ae92c (patch)
tree3370e1e580f654f49de01a722dcd5c306da85972 /libpeas/peas-plugin-info-priv.h
parent3f9a89a8201f7ac7c53e53ab9d049c723997820c (diff)
downloadlibpeas-a56d7ed643ab481a2df29842141909e6a81ae92c.tar.gz
janitorial: make PeasPluginInfo a GObject
This will allow us to use PeasPluginInfo in a GListModel (and therefore expose them in a PeasEngine using GListModel). Properties are not yet exposed but will be in the future.
Diffstat (limited to 'libpeas/peas-plugin-info-priv.h')
-rw-r--r--libpeas/peas-plugin-info-priv.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/libpeas/peas-plugin-info-priv.h b/libpeas/peas-plugin-info-priv.h
index 9d8d4ef..1362a0d 100644
--- a/libpeas/peas-plugin-info-priv.h
+++ b/libpeas/peas-plugin-info-priv.h
@@ -27,8 +27,9 @@
#include "peas-plugin-info.h"
struct _PeasPluginInfo {
+ GObject parent_instance;
+
/*< private >*/
- gint refcount;
/* Used and managed by PeasPluginLoader */
gpointer loader_data;
@@ -67,8 +68,6 @@ struct _PeasPluginInfo {
guint hidden : 1;
};
-PeasPluginInfo *_peas_plugin_info_new (const gchar *filename,
- const gchar *module_dir,
- const gchar *data_dir);
-PeasPluginInfo *_peas_plugin_info_ref (PeasPluginInfo *info);
-void _peas_plugin_info_unref (PeasPluginInfo *info);
+PeasPluginInfo *_peas_plugin_info_new (const gchar *filename,
+ const gchar *module_dir,
+ const gchar *data_dir);