summaryrefslogtreecommitdiff
path: root/loaders
diff options
context:
space:
mode:
authorGarrett Regier <garrett.regier@riftio.com>2014-11-08 11:18:33 -0800
committerGarrett Regier <garrett.regier@riftio.com>2014-11-18 10:30:39 -0800
commitfbfea67c9ae08b570e5aa5bcd644d70937f50f20 (patch)
treea2a4285c83348e297e7140c7b80ca4c3a6510b00 /loaders
parentb4664d44f991fd86e5c08627df6120c49dba1245 (diff)
downloadlibpeas-fbfea67c9ae08b570e5aa5bcd644d70937f50f20.tar.gz
Fix setting "peas-extension-type" in the lua5.1 plugin loader
This fix was already made to the other plugins loaders.
Diffstat (limited to 'loaders')
-rw-r--r--loaders/lua5.1/peas-plugin-loader-lua.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/loaders/lua5.1/peas-plugin-loader-lua.c b/loaders/lua5.1/peas-plugin-loader-lua.c
index 66e0838..879e82a 100644
--- a/loaders/lua5.1/peas-plugin-loader-lua.c
+++ b/loaders/lua5.1/peas-plugin-loader-lua.c
@@ -228,12 +228,11 @@ peas_plugin_loader_lua_create_extension (PeasPluginLoader *loader,
if (object == NULL)
return NULL;
- /* As we do not instantiate a PeasExtensionWrapper, we have to remember
- * somehow which interface we are instantiating, to make it possible to use
- * the deprecated peas_extension_get_extension_type() method.
+ /* We have to remember which interface we are instantiating
+ * for the deprecated peas_extension_get_extension_type().
*/
g_object_set_data (object, "peas-extension-type",
- GUINT_TO_POINTER (exten_type));
+ GSIZE_TO_POINTER (exten_type));
luaL_checkstack (L, 3, "");