diff options
author | Steve Frécinaux <code@istique.net> | 2010-07-19 20:17:07 +0200 |
---|---|---|
committer | Steve Frécinaux <code@istique.net> | 2010-07-27 20:52:35 +0200 |
commit | 754bc3ae64865eecc1c0ebb141a4c2d5a39ec88a (patch) | |
tree | 074ea11967f29acfb1de5cc7a6e9a1e0b76fb13f /libpeas/peas-plugin-loader.c | |
parent | 1c6a2e3d98d89f376d4520d20dd32945cde68dfc (diff) | |
download | libpeas-754bc3ae64865eecc1c0ebb141a4c2d5a39ec88a.tar.gz |
[PeasEngine] Rename get_extension() to create_extension()
This is closer to the actual behaviour of that function.
https://bugzilla.gnome.org/show_bug.cgi?id=620057
Diffstat (limited to 'libpeas/peas-plugin-loader.c')
-rw-r--r-- | libpeas/peas-plugin-loader.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libpeas/peas-plugin-loader.c b/libpeas/peas-plugin-loader.c index 2399da9..ea5bfb4 100644 --- a/libpeas/peas-plugin-loader.c +++ b/libpeas/peas-plugin-loader.c @@ -95,20 +95,20 @@ peas_plugin_loader_provides_extension (PeasPluginLoader *loader, } PeasExtension * -peas_plugin_loader_get_extension (PeasPluginLoader *loader, - PeasPluginInfo *info, - GType ext_type, - guint n_parameters, - GParameter *parameters) +peas_plugin_loader_create_extension (PeasPluginLoader *loader, + PeasPluginInfo *info, + GType ext_type, + guint n_parameters, + GParameter *parameters) { PeasPluginLoaderClass *klass; g_return_val_if_fail (PEAS_IS_PLUGIN_LOADER (loader), NULL); klass = PEAS_PLUGIN_LOADER_GET_CLASS (loader); - g_return_val_if_fail (klass->get_extension != NULL, NULL); + g_return_val_if_fail (klass->create_extension != NULL, NULL); - return klass->get_extension (loader, info, ext_type, n_parameters, parameters); + return klass->create_extension (loader, info, ext_type, n_parameters, parameters); } void |