diff libpurple/certificate.c @ 32559:32642aa8dbe5

Get rid of purple_certificate_display_x509, now that there's a request API for it.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 26 Feb 2012 05:34:08 +0000
parents b1f9e5e9c03f
children
line wrap: on
line diff
--- a/libpurple/certificate.c	Sun Feb 26 05:33:00 2012 +0000
+++ b/libpurple/certificate.c	Sun Feb 26 05:34:08 2012 +0000
@@ -2092,25 +2092,6 @@
 /* Scheme-specific functions                                                */
 /****************************************************************************/
 
-void
-purple_certificate_display_x509(PurpleCertificate *crt)
-{
-	gchar *secondary;
-
-	/* Make messages */
-	secondary = purple_certificate_get_display_string(crt);
-
-	/* Make a semi-pretty display */
-	purple_notify_info(
-		NULL,         /* TODO: Find what the handle ought to be */
-		_("Certificate Information"),
-		"",
-		secondary);
-
-	/* Cleanup */
-	g_free(secondary);
-}
-
 void purple_certificate_add_ca_search_path(const char *path)
 {
 	if (g_list_find_custom(x509_ca_paths, path, (GCompareFunc)strcmp))