summaryrefslogtreecommitdiff
path: root/loaders/python/peas-plugin-loader-python.c
diff options
context:
space:
mode:
Diffstat (limited to 'loaders/python/peas-plugin-loader-python.c')
-rw-r--r--loaders/python/peas-plugin-loader-python.c2
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)