diff options
author | Christian Hergert <chergert@redhat.com> | 2023-03-20 20:53:10 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2023-03-22 16:44:45 -0700 |
commit | 1aaa3e882d8a294336cedd4a310a6fdaaccf88a1 (patch) | |
tree | d1c9c0ba84caba8c7b341ca2db2dd3fb8f48744c | |
parent | aca4c87b2d4a36e6897923368c3016f3d6fcb36d (diff) | |
download | libpeas-1aaa3e882d8a294336cedd4a310a6fdaaccf88a1.tar.gz |
loaders/python: fix attribute type for plugin_info
-rw-r--r-- | loaders/python/peas-plugin-loader-python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c index 6ce5c80..d54e023 100644 --- a/loaders/python/peas-plugin-loader-python.c +++ b/loaders/python/peas-plugin-loader-python.c @@ -132,7 +132,7 @@ peas_plugin_loader_python_create_extension (PeasPluginLoader *loader, GSIZE_TO_POINTER (exten_type)); pyobject = pygobject_new (object); - pyplinfo = pyg_boxed_new (PEAS_TYPE_PLUGIN_INFO, info, TRUE, TRUE); + pyplinfo = pygobject_new (G_OBJECT (info)); /* Set the plugin info as an attribute of the instance */ if (PyObject_SetAttrString (pyobject, "plugin_info", pyplinfo) != 0) |