[evolution/wip/webkit2] Adapt new code to Camel API changes for bug 768496



commit f16552408bf2584921f6afdb89371bfb50e1f11d
Author: Milan Crha <mcrha redhat com>
Date:   Wed Aug 10 14:43:19 2016 +0200

    Adapt new code to Camel API changes for bug 768496

 em-format/e-mail-formatter-secure-button.c |    8 ++++----
 em-format/e-mail-part-secure-button.c      |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/em-format/e-mail-formatter-secure-button.c b/em-format/e-mail-formatter-secure-button.c
index 8db0878..6adac99 100644
--- a/em-format/e-mail-formatter-secure-button.c
+++ b/em-format/e-mail-formatter-secure-button.c
@@ -71,11 +71,11 @@ static const GdkRGBA smime_sign_colour[6] = {
 
 /* This is awkward, but there is no header file for it. On the other hand,
    the functions are meant private, where they really are, being defined this way. */
-const gchar *e_mail_formatter_secure_button_get_encrypt_description (camel_cipher_validity_encrypt_t status);
-const gchar *e_mail_formatter_secure_button_get_sign_description (camel_cipher_validity_sign_t status);
+const gchar *e_mail_formatter_secure_button_get_encrypt_description (CamelCipherValidityEncrypt status);
+const gchar *e_mail_formatter_secure_button_get_sign_description (CamelCipherValiditySign status);
 
 const gchar *
-e_mail_formatter_secure_button_get_sign_description (camel_cipher_validity_sign_t status)
+e_mail_formatter_secure_button_get_sign_description (CamelCipherValiditySign status)
 {
        g_return_val_if_fail (status >= 0 && status < G_N_ELEMENTS (smime_sign_table), NULL);
 
@@ -83,7 +83,7 @@ e_mail_formatter_secure_button_get_sign_description (camel_cipher_validity_sign_
 }
 
 const gchar *
-e_mail_formatter_secure_button_get_encrypt_description (camel_cipher_validity_encrypt_t status)
+e_mail_formatter_secure_button_get_encrypt_description (CamelCipherValidityEncrypt status)
 {
        g_return_val_if_fail (status >= 0 && status < G_N_ELEMENTS (smime_encrypt_table), NULL);
 
diff --git a/em-format/e-mail-part-secure-button.c b/em-format/e-mail-part-secure-button.c
index c10e718..2455303 100644
--- a/em-format/e-mail-part-secure-button.c
+++ b/em-format/e-mail-part-secure-button.c
@@ -30,8 +30,8 @@
 
 G_DEFINE_TYPE (EMailPartSecureButton, e_mail_part_secure_button, E_TYPE_MAIL_PART)
 
-const gchar *e_mail_formatter_secure_button_get_encrypt_description (camel_cipher_validity_encrypt_t status);
-const gchar *e_mail_formatter_secure_button_get_sign_description (camel_cipher_validity_sign_t status);
+const gchar *e_mail_formatter_secure_button_get_encrypt_description (CamelCipherValidityEncrypt status);
+const gchar *e_mail_formatter_secure_button_get_sign_description (CamelCipherValiditySign status);
 
 
 #if defined (HAVE_NSS) && defined (ENABLE_SMIME)


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