summaryrefslogtreecommitdiff
path: root/libpeas/peas-plugin-loader-c.c
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-loader-c.c
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-loader-c.c')
-rw-r--r--libpeas/peas-plugin-loader-c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpeas/peas-plugin-loader-c.c b/libpeas/peas-plugin-loader-c.c
index a4dc3d3..c4964f6 100644
--- a/libpeas/peas-plugin-loader-c.c
+++ b/libpeas/peas-plugin-loader-c.c
@@ -136,7 +136,7 @@ peas_plugin_loader_c_create_extension (PeasPluginLoader *loader,
exten_parameters[n_parameters].name = intern_plugin_info;
memset (&exten_parameters[n_parameters].value, 0, sizeof (GValue));
g_value_init (&exten_parameters[n_parameters].value, PEAS_TYPE_PLUGIN_INFO);
- g_value_set_boxed (&exten_parameters[n_parameters].value, info);
+ g_value_set_object (&exten_parameters[n_parameters].value, info);
instance = peas_object_module_create_object (info->loader_data,
exten_type,