diff src/conversation.h @ 10528:c3a964f4fc61

[gaim-migrate @ 11849] The autopackage will now be built with mozilla-nss support too. Hopefully this helps those people who couldn't install the 1.1.1 .package due to having the wrong version (or no version) of gnutls. Also a spelling fix in conversation.h that I forgot to commit earlier, thanks Evan Schoenberg, although I meant expects, not accepts. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 19 Jan 2005 01:00:31 +0000
parents 55e7d72fc09a
children 4829abdc5c35
line wrap: on
line diff
--- a/src/conversation.h	Tue Jan 18 20:23:25 2005 +0000
+++ b/src/conversation.h	Wed Jan 19 01:00:31 2005 +0000
@@ -1042,13 +1042,18 @@
 void gaim_conv_im_send(GaimConvIm *im, const char *message);
 
 /**
- * Adds a smiley to the conversation's smiley tree.
+ * Adds a smiley to the conversation's smiley tree. If this returns
+ * @c TRUE you should call gaim_conv_custom_smiley_write() one or more
+ * times, and then gaim_conv_custom_smiley_close(). If this returns
+ * @c FALSE, either the conv or smile were invalid, or the icon was
+ * found in the cache. In either case, calling write or close would
+ * be an error.
  *
  * @param conv The conversation to associate the smiley with.
  * @param smile The text associated with the smiley
  * @param cksum_type The type of checksum.
  * @param chksum The checksum, as a NUL terminated base64 string.
- * @return      @c TRUE if an icon is excepted, else FALSE. Note that
+ * @return      @c TRUE if an icon is expected, else FALSE. Note that
  *              it is an error to never call gaim_conv_custom_smiley_close if
  *              this function returns @c TRUE, but an error to call it if
  *              @c FALSE is returned.