summaryrefslogtreecommitdiff
path: root/libpeas/peas-plugin-loader.c
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2010-05-19 01:07:45 +0200
committerSteve Frécinaux <code@istique.net>2010-05-19 19:11:10 +0200
commitfa233cd4c08b72471c51f957dbdd22bc99d9ef87 (patch)
treed72bb43b28c3f8c2edc7d2c493a374665e0e4a7a /libpeas/peas-plugin-loader.c
parentfa9c32faf858ac30f5e584eee4132538058f8dd1 (diff)
downloadlibpeas-fa233cd4c08b72471c51f957dbdd22bc99d9ef87.tar.gz
Do not make plugin_loader_load return a special object.
The existing PeasPlugin should really be converted into a GInterface to use through PeasExtension.
Diffstat (limited to 'libpeas/peas-plugin-loader.c')
-rw-r--r--libpeas/peas-plugin-loader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpeas/peas-plugin-loader.c b/libpeas/peas-plugin-loader.c
index 157036e..a723222 100644
--- a/libpeas/peas-plugin-loader.c
+++ b/libpeas/peas-plugin-loader.c
@@ -47,16 +47,16 @@ peas_plugin_loader_add_module_directory (PeasPluginLoader *loader,
klass->add_module_directory (loader, module_dir);
}
-PeasPlugin *
+gboolean
peas_plugin_loader_load (PeasPluginLoader *loader,
PeasPluginInfo *info)
{
PeasPluginLoaderClass *klass;
- g_return_val_if_fail (PEAS_IS_PLUGIN_LOADER (loader), NULL);
+ g_return_val_if_fail (PEAS_IS_PLUGIN_LOADER (loader), FALSE);
klass = PEAS_PLUGIN_LOADER_GET_CLASS (loader);
- g_return_val_if_fail (klass->load != NULL, NULL);
+ g_return_val_if_fail (klass->load != NULL, FALSE);
return klass->load (loader, info);
}