[evolution-mapi/gnome-3-32] Use lower-case "mailto:" consistently in the code



commit 9fd3d8a1f1c74826fb60e743ac5d6f219889c1a4
Author: Milan Crha <mcrha redhat com>
Date:   Tue Apr 9 18:16:35 2019 +0200

    Use lower-case "mailto:"; consistently in the code

 src/calendar/e-cal-backend-mapi.c      |  2 +-
 src/libexchangemapi/e-mapi-cal-utils.c | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-mapi.c b/src/calendar/e-cal-backend-mapi.c
index bfd46c0..a2d8b56 100644
--- a/src/calendar/e-cal-backend-mapi.c
+++ b/src/calendar/e-cal-backend-mapi.c
@@ -555,7 +555,7 @@ ecb_mapi_find_my_response (ECalBackendMAPI *cbmapi,
        gchar *att = NULL;
        OlResponseStatus val = olResponseTentative;
 
-       att = g_strdup_printf ("MAILTO:%s", ecb_mapi_get_owner_email (cbmapi));
+       att = g_strdup_printf ("mailto:%s";, ecb_mapi_get_owner_email (cbmapi));
 
        for (attendee = icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY);
             attendee;
diff --git a/src/libexchangemapi/e-mapi-cal-utils.c b/src/libexchangemapi/e-mapi-cal-utils.c
index a4bb2fc..105f406 100644
--- a/src/libexchangemapi/e-mapi-cal-utils.c
+++ b/src/libexchangemapi/e-mapi-cal-utils.c
@@ -704,7 +704,7 @@ populate_ical_attendees (EMapiConnection *conn,
                        continue;
                }
 
-               icalemail = g_strdup_printf ("MAILTO:%s", email);
+               icalemail = g_strdup_printf ("mailto:%s";, email);
 
                flags = e_mapi_util_find_array_propval (&recipient->properties, PidTagRecipientFlags);
 
@@ -1082,7 +1082,7 @@ e_mapi_cal_util_object_to_comp (EMapiConnection *conn,
                                                &name, &email);
 
                                        if (email) {
-                                               val = g_strdup_printf ("MAILTO:%s", email);
+                                               val = g_strdup_printf ("mailto:%s";, email);
                                                prop = icalproperty_new_organizer (val);
                                                g_free (val);
 
@@ -1110,7 +1110,7 @@ e_mapi_cal_util_object_to_comp (EMapiConnection *conn,
                                                &name, &email);
 
                                        if (email) {
-                                               val = g_strdup_printf ("MAILTO:%s", email);
+                                               val = g_strdup_printf ("mailto:%s";, email);
                                                prop = icalproperty_new_attendee (val);
                                                g_free (val);
 
@@ -1149,7 +1149,7 @@ e_mapi_cal_util_object_to_comp (EMapiConnection *conn,
                                        &sent_name, &sent_email);
 
                                if (sent_email) {
-                                       val = g_strdup_printf ("MAILTO:%s", sent_email);
+                                       val = g_strdup_printf ("mailto:%s";, sent_email);
                                        prop = icalproperty_new_organizer (val);
                                        g_free (val);
 
@@ -1161,7 +1161,7 @@ e_mapi_cal_util_object_to_comp (EMapiConnection *conn,
 
                                        /* SENTBY */
                                        if (email && g_utf8_collate (sent_email, email)) {
-                                               val = g_strdup_printf ("MAILTO:%s", email);
+                                               val = g_strdup_printf ("mailto:%s";, email);
                                                param = icalparameter_new_sentby (val);
                                                icalproperty_add_parameter (prop, param);
                                                g_free (val);


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