[evolution] Remove unused e_cert_get_window_title().



commit 9d7f8f9288b4978802b8b1f23303d5774c435350
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Sep 24 14:10:46 2013 -0400

    Remove unused e_cert_get_window_title().

 smime/lib/e-cert.c |   11 -----------
 smime/lib/e-cert.h |    1 -
 2 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/smime/lib/e-cert.c b/smime/lib/e-cert.c
index b02cb51..895ebea 100644
--- a/smime/lib/e-cert.c
+++ b/smime/lib/e-cert.c
@@ -325,17 +325,6 @@ e_cert_get_raw_der (ECert *cert,
 }
 
 const gchar *
-e_cert_get_window_title (ECert *cert)
-{
-       if (cert->priv->cert->nickname)
-               return cert->priv->cert->nickname;
-       else if (cert->priv->cn)
-               return cert->priv->cn;
-       else
-               return cert->priv->cert->subjectName;
-}
-
-const gchar *
 e_cert_get_nickname (ECert *cert)
 {
        return cert->priv->cert->nickname;
diff --git a/smime/lib/e-cert.h b/smime/lib/e-cert.h
index afe2e81..03badb0 100644
--- a/smime/lib/e-cert.h
+++ b/smime/lib/e-cert.h
@@ -71,7 +71,6 @@ ECert *               e_cert_new_from_der (gchar *data, guint32 len);
 CERTCertificate *     e_cert_get_internal_cert (ECert *cert);
 
 gboolean             e_cert_get_raw_der       (ECert *cert, gchar **data, guint32 *len);
-const gchar *          e_cert_get_window_title  (ECert *cert);
 const gchar *          e_cert_get_nickname      (ECert *cert);
 const gchar *          e_cert_get_email         (ECert *cert);
 const gchar *          e_cert_get_org           (ECert *cert);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]