pidgin: 25b9e69a: Minor comment cleanup stuff.

qulogic at pidgin.im qulogic at pidgin.im
Sat Aug 22 23:35:41 EDT 2009


-----------------------------------------------------------------
Revision: 25b9e69aec765b3584793478594d7adbd658871f
Ancestor: 5d9456311f879116a0aa9a4e39d9262030f2f79e
Author: qulogic at pidgin.im
Date: 2009-08-22T23:58:18
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/25b9e69aec765b3584793478594d7adbd658871f

Modified files:
        libpurple/smiley.c libpurple/smiley.h

ChangeLog: 

Minor comment cleanup stuff.

-------------- next part --------------
============================================================
--- libpurple/smiley.c	525d1524918b111d3d5806f42b9ca54955a5643f
+++ libpurple/smiley.c	356a10a42ef5169d0a92038272c35774b7600321
@@ -80,7 +80,7 @@ static char *smileys_dir = NULL;
  * XML descriptor file layout                                                 *
  ******************************************************************************
  *
- * Althought we are creating the profile XML structure here, now we
+ * Although we are creating the profile XML structure here, now we
  * won't handle it.
  * So, we just add one profile named "default" that has no associated
  * account elements, and have only the smiley_set that will contain
@@ -163,14 +163,14 @@ static xmlnode *
 }
 
 static xmlnode *
-smileys_to_xmlnode()
+smileys_to_xmlnode(void)
 {
 	xmlnode *root_node, *profile_node, *smileyset_node;
 
 	root_node = xmlnode_new(XML_ROOT_TAG);
 	xmlnode_set_attrib(root_node, "version", "1.0");
 
-	/* See the top comment's above to understand why initial tag elements
+	/* See the top comments above to understand why initial tag elements
 	 * are not being considered by now. */
 	profile_node = xmlnode_new(XML_PROFILE_TAG);
 	if (profile_node) {
@@ -188,7 +188,7 @@ static void
 }
 
 static void
-sync_smileys()
+sync_smileys(void)
 {
 	xmlnode *root_node;
 	char *data;
@@ -216,7 +216,7 @@ static void
 }
 
 static void
-purple_smileys_save()
+purple_smileys_save(void)
 {
 	if (save_timer == 0)
 		save_timer = purple_timeout_add_seconds(5, save_smileys_cb, NULL);
@@ -248,7 +248,7 @@ static void
 }
 
 static void
-purple_smileys_load()
+purple_smileys_load(void)
 {
 	xmlnode *root_node, *profile_node;
 	xmlnode *smileyset_node = NULL;
@@ -262,7 +262,7 @@ purple_smileys_load()
 	if (root_node == NULL)
 		return;
 
-	/* See the top comment's above to understand why initial tag elements
+	/* See the top comments above to understand why initial tag elements
 	 * are not being considered by now. */
 	profile_node = xmlnode_get_child(root_node, XML_PROFILE_TAG);
 	if (profile_node)
@@ -456,7 +456,7 @@ purple_smiley_get_type(void)
 }
 
 /*********************************************************************
- * Other Stuff                                                             *
+ * Other Stuff                                                       *
  *********************************************************************/
 
 static char *get_file_full_path(const char *filename)
@@ -876,7 +876,7 @@ void
 }
 
 void
-purple_smileys_init()
+purple_smileys_init(void)
 {
 	smiley_shortcut_index = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);
 	smiley_checksum_index = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);
@@ -887,7 +887,7 @@ void
 }
 
 void
-purple_smileys_uninit()
+purple_smileys_uninit(void)
 {
 	if (save_timer != 0) {
 		purple_timeout_remove(save_timer);
============================================================
--- libpurple/smiley.h	42c32d62540a919a507d3e71a5f57be5abf9950f
+++ libpurple/smiley.h	29dfc5a86414efa0d940080733ed3ccf5836b0a9
@@ -95,7 +95,7 @@ purple_smiley_new_from_file(const char *
 purple_smiley_new_from_file(const char *shortcut, const char *filepath);
 
 /**
- * Destroys the custom smiley and release the associated resources.
+ * Destroys the custom smiley and releases the associated resources.
  *
  * @param smiley    The custom smiley.
  */
@@ -183,7 +183,7 @@ const char *purple_smiley_get_extension(
  * If the custom smiley has data and the file exists in the cache, this
  * will return a full path to the cached file.
  *
- * In general, it is not appropriate to be poking in the file cached
+ * In general, it is not appropriate to be poking in the file cache
  * directly.  If you find yourself wanting to use this function, think
  * very long and hard about it, and then don't.
  *


More information about the Commits mailing list