/soc/2013/ankitkv/gobjectification: 755de1ce7f07: Update documen...

Ankit Vani a at nevitus.org
Sat Aug 10 15:36:11 EDT 2013


Changeset: 755de1ce7f07ce6c435473d9024c2a7fac114355
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-11 00:55 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/755de1ce7f07

Description:

Update documentation

diffstat:

 libpurple/plugins.h |   2 +-
 libpurple/prpl.h    |  10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (51 lines):

diff --git a/libpurple/plugins.h b/libpurple/plugins.h
--- a/libpurple/plugins.h
+++ b/libpurple/plugins.h
@@ -216,7 +216,7 @@ G_BEGIN_DECLS
 gboolean purple_plugin_load(PurplePlugin *plugin);
 
 /**
- * Unloads the specified plugin, and frees associated actions.
+ * Unloads the specified plugin.
  *
  * @param plugin The plugin handle.
  *
diff --git a/libpurple/prpl.h b/libpurple/prpl.h
--- a/libpurple/prpl.h
+++ b/libpurple/prpl.h
@@ -262,13 +262,13 @@ struct _PurplePluginProtocolInfo
 	GList *user_splits;      /**< A GList of PurpleAccountUserSplit */
 	GList *protocol_options; /**< A GList of PurpleAccountOption    */
 
+	PurpleBuddyIconSpec icon_spec; /**< The icon spec. */
+
 	/**
 	 * Callback that returns the actions the protocol can perform
 	 */
 	GList *(*get_actions)(PurpleConnection *);
 
-	PurpleBuddyIconSpec icon_spec; /**< The icon spec. */
-
 	/**
 	 * Returns the base icon name for the given buddy and account.
 	 * If buddy is NULL and the account is non-NULL, it will return the
@@ -971,7 +971,7 @@ void purple_prpl_got_media_caps(PurpleAc
 
 /** TODO A sanity check is needed
  * Allocates and returns a new PurpleProtocolAction. Use this to add actions in
- * a list in the actions callback of the protocol.
+ * a list in the get_actions function of the protocol.
  *
  * @param label    The description of the action to show to the user.
  * @param callback The callback to call when the user selects this action.
@@ -1009,8 +1009,8 @@ gboolean purple_protocols_add(PurplePlug
 
 /** TODO A sanity check is needed
  * Removes a protocol from the list of protocols. This will disconnect all
- * connected accounts using this protocol, and free the protocol's user splits,
- * protocol options, and actions.
+ * connected accounts using this protocol, and free the protocol's user splits
+ * and protocol options.
  *
  * @param prpl_info  The protocol to remove.
  *



More information about the Commits mailing list