summaryrefslogtreecommitdiff
path: root/libpurple/plugins.c
diff options
context:
space:
mode:
authorAnkit Vani <a@nevitus.org>2014-01-20 18:08:30 +0530
committerAnkit Vani <a@nevitus.org>2014-01-20 18:08:30 +0530
commit1e4a4bdcd88fda3b0ec09595189dc07306a3adb3 (patch)
tree7131dd64b3fb92e9349157ce59ad0f5e02f5222b /libpurple/plugins.c
parent8e2e30b08d9fb52a45ac26953b2869aed0e23594 (diff)
downloadpidgin-1e4a4bdcd88fda3b0ec09595189dc07306a3adb3.tar.gz
Better wording for comments in plugins.c
Diffstat (limited to 'libpurple/plugins.c')
-rw-r--r--libpurple/plugins.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpurple/plugins.c b/libpurple/plugins.c
index f8ee57a1f0..cc0c9025fe 100644
--- a/libpurple/plugins.c
+++ b/libpurple/plugins.c
@@ -281,8 +281,8 @@ purple_plugin_get_info(const PurplePlugin *plugin)
/* GPlugin refs the plugin info object before returning it. This workaround
* is to avoid managing the reference counts everywhere in our codebase
- * where we would need the plugin info. The plugin info instance is
- * guaranteed to exist as long as the plugin exists. */
+ * where we use the plugin info. The plugin info instance is guaranteed to
+ * exist as long as the plugin exists. */
g_object_unref(info);
if (PURPLE_IS_PLUGIN_INFO(info))
@@ -1002,8 +1002,8 @@ purple_plugins_find_plugin(const gchar *id)
/* GPlugin refs the plugin object before returning it. This workaround is
* to avoid managing the reference counts everywhere in our codebase where
- * we would need the plugin. The object is guaranteed to exist till the
- * plugins subsystem is uninitialized. */
+ * we use plugin instances. A plugin object will exist till the plugins
+ * subsystem is uninitialized. */
g_object_unref(plugin);
return plugin;