/soc/2013/ankitkv/gobjectification: e94e70e965e3: Better wording...

Ankit Vani a at nevitus.org
Mon Jan 20 10:03:39 EST 2014


Changeset: e94e70e965e3126fdc58a0c04b0aaaeebd5bba2e
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-01-20 18:08 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/e94e70e965e3

Description:

Better wording for comments in plugins.c

diffstat:

 libpurple/plugins.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff --git a/libpurple/plugins.c b/libpurple/plugins.c
--- a/libpurple/plugins.c
+++ b/libpurple/plugins.c
@@ -281,8 +281,8 @@ purple_plugin_get_info(const PurplePlugi
 
 	/* 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 *
 
 	/* 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;



More information about the Commits mailing list