diff options
author | Garrett Regier <garrett.regier@riftio.com> | 2014-11-08 11:18:33 -0800 |
---|---|---|
committer | Garrett Regier <garrett.regier@riftio.com> | 2014-11-18 10:30:39 -0800 |
commit | fbfea67c9ae08b570e5aa5bcd644d70937f50f20 (patch) | |
tree | a2a4285c83348e297e7140c7b80ca4c3a6510b00 /loaders | |
parent | b4664d44f991fd86e5c08627df6120c49dba1245 (diff) | |
download | libpeas-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.c | 7 |
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, ""); |