diff -r 1aee6d5eefba -r 5902dd574c6e libpurple/certificate.h
--- a/libpurple/certificate.h Fri Jun 27 01:07:11 2014 +0530
+++ b/libpurple/certificate.h Wed Jul 09 11:42:34 2014 +0530
@@ -236,12 +236,6 @@
* @crt: Certificate instance
* Returns: Binary DER representation of certificate - must
* be freed using g_byte_array_free().
- * @get_display_string: Retrieves a string representation of the certificate
- * suitable for display
- * @crt: Certificate instance
- * Returns: User-displayable string representation of
- * certificate - must be freed using
- * g_free().
*
* A certificate type.
*
@@ -275,8 +269,6 @@
GSList * (* import_certificates)(const gchar * filename);
GByteArray * (* get_der_data)(PurpleCertificate *crt);
- gchar * (* get_display_string)(PurpleCertificate *crt);
-
/*< private >*/
void (*_purple_reserved1)(void);
};
@@ -697,7 +689,8 @@
*
* Retrieve a certificate from a pool.
*
- * Returns: Retrieved certificate, or NULL if it wasn't there
+ * Returns: Retrieved certificate (to be freed with
+ * purple_certificate_destroy), or NULL if it wasn't there
*/
PurpleCertificate *
purple_certificate_pool_retrieve(PurpleCertificatePool *pool, const gchar *id);