[balsa/gmime3: 3/50] Insert a NULL GMimeFormatOptions



commit a9570ad745ac5beac56bc79e36cd17f55521550b
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Nov 20 17:05:00 2019 -0800

    Insert a NULL GMimeFormatOptions
    
    Insert a NULL GMimeFormatOptions as the new second argument to
    internet_address_to_string

 libbalsa/abook-completion.c       | 2 +-
 libbalsa/address-view.c           | 8 ++++----
 libbalsa/address.c                | 4 ++--
 libbalsa/identity.c               | 2 +-
 src/balsa-message.c               | 4 ++--
 src/balsa-mime-widget-vcalendar.c | 2 +-
 src/sendmsg-window.c              | 2 +-
 src/store-address.c               | 2 +-
 8 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/libbalsa/abook-completion.c b/libbalsa/abook-completion.c
index d70e1f13b..5a33924a6 100644
--- a/libbalsa/abook-completion.c
+++ b/libbalsa/abook-completion.c
@@ -51,7 +51,7 @@ completion_data_new(InternetAddress * ia, const gchar * nick_name)
     string = g_string_new(nick_name);
     if (string->len > 0)
        g_string_append_c(string, ' ');
-    address_string = internet_address_to_string(ia, FALSE);
+    address_string = internet_address_to_string(ia, NULL, FALSE);
     /* Remove '"' and '<'. */
     for (p = q = address_string; *p; p++)
         if (*p != '"' && *p != '<')
diff --git a/libbalsa/address-view.c b/libbalsa/address-view.c
index 445710be1..294833cd2 100644
--- a/libbalsa/address-view.c
+++ b/libbalsa/address-view.c
@@ -220,7 +220,7 @@ lbav_append_addresses(LibBalsaAddressView * address_view,
 
     for (; match; match = match->next) {
         InternetAddress *ia = match->data;
-        name = internet_address_to_string(ia, FALSE);
+        name = internet_address_to_string(ia, NULL, FALSE);
         gtk_list_store_append(store, &iter);
         gtk_list_store_set(store, &iter, COMPLETION_NAME_COL, name, -1);
         g_free(name);
@@ -392,7 +392,7 @@ lbav_add_from_list(LibBalsaAddressView * address_view,
 
     for (i = 0; i < internet_address_list_length(list); i++) {
         InternetAddress *ia = internet_address_list_get_address(list, i);
-        gchar *name = internet_address_to_string(ia, FALSE);
+        gchar *name = internet_address_to_string(ia, NULL, FALSE);
 
         libbalsa_utf8_sanitize(&name, address_view->fallback, NULL);
         lbav_clean_text(name);
@@ -750,8 +750,8 @@ lbav_focus_out_cb(GtkEntry * entry, GdkEventFocus * event,
         if (match) {
             if (!match->next) {
                 gchar *the_addr =
-                    internet_address_to_string((InternetAddress *) match->
-                                               data, FALSE);
+                    internet_address_to_string((InternetAddress *) match->data,
+                                                NULL, FALSE);
 
                 g_signal_handlers_block_by_func(entry,
                                                 lbav_entry_changed_cb,
diff --git a/libbalsa/address.c b/libbalsa/address.c
index 01a7fb38f..09a21031d 100644
--- a/libbalsa/address.c
+++ b/libbalsa/address.c
@@ -565,7 +565,7 @@ rfc2822_mailbox(const gchar * full_name, const gchar * address)
     gchar *new_str;
 
     ia = internet_address_mailbox_new(full_name, address);
-    new_str = internet_address_to_string(ia, FALSE);
+    new_str = internet_address_to_string(ia, NULL, FALSE);
     g_object_unref(ia);
 
     return new_str;
@@ -585,7 +585,7 @@ rfc2822_group(const gchar *full_name, GList *addr_list)
        internet_address_group_add_member(INTERNET_ADDRESS_GROUP(ia), member);
        g_object_unref(member);
     }
-    res = internet_address_to_string(ia, FALSE);
+    res = internet_address_to_string(ia, NULL, FALSE);
     g_object_unref(ia);
 
     return res;
diff --git a/libbalsa/identity.c b/libbalsa/identity.c
index f0e44eeb4..0fcb8ca29 100644
--- a/libbalsa/identity.c
+++ b/libbalsa/identity.c
@@ -2197,7 +2197,7 @@ libbalsa_identity_combo_box(GList       * identities,
         GtkTreeIter iter;
 
         ident = list->data;
-        from = internet_address_to_string(ident->ia, FALSE);
+        from = internet_address_to_string(ident->ia, NULL, FALSE);
        name = g_strconcat("(", ident->identity_name, ")", NULL);
 
         gtk_list_store_append(store, &iter);
diff --git a/src/balsa-message.c b/src/balsa-message.c
index e61611e77..727e73295 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -1084,7 +1084,7 @@ balsa_message_sender_to_gchar(InternetAddressList * list, gint which)
     if (which < 0)
        return internet_address_list_to_string(list, FALSE);
     ia = internet_address_list_get_address (list, which);
-    return internet_address_to_string(ia, FALSE);
+    return internet_address_to_string(ia, NULL, FALSE);
 }
 
 static void
@@ -2464,7 +2464,7 @@ handle_mdn_request(GtkWindow *parent,
     if (action == BALSA_MDN_REPLY_ASKME) {
         gchar *sender;
         gchar *reply_to;
-        sender = from ? internet_address_to_string (from, FALSE) : NULL;
+        sender = from ? internet_address_to_string(from, NULL, FALSE) : NULL;
         reply_to =
             internet_address_list_to_string (headers->dispnotify_to,
                                             FALSE);
diff --git a/src/balsa-mime-widget-vcalendar.c b/src/balsa-mime-widget-vcalendar.c
index d2e3ff347..94cfa0bf9 100644
--- a/src/balsa-mime-widget-vcalendar.c
+++ b/src/balsa-mime-widget-vcalendar.c
@@ -226,7 +226,7 @@ balsa_vevent_widget(LibBalsaVEvent * event, gboolean may_reply,
        /* add the callback data to the event object */
        g_object_ref(event);
        g_object_set_data_full(G_OBJECT(event), "ev:sender",
-                              internet_address_to_string(sender, FALSE),
+                              internet_address_to_string(sender, NULL, FALSE),
                               (GDestroyNotify) g_free);
         g_object_set_data_full(G_OBJECT(event), "ev:ident",
                                g_object_ref(vevent_ident),
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 096724f29..fcf6053db 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -478,7 +478,7 @@ delete_handler(BalsaSendmsg * bsmsg)
     if (ia) {
         tmp = ia->name;
         if (!tmp || !*tmp)
-            tmp = free_me = internet_address_to_string(ia, FALSE);
+            tmp = free_me = internet_address_to_string(ia, NULL, FALSE);
     }
     if (!tmp || !*tmp)
         tmp = _("(No name)");
diff --git a/src/store-address.c b/src/store-address.c
index f6034a56b..bb6b48509 100644
--- a/src/store-address.c
+++ b/src/store-address.c
@@ -376,7 +376,7 @@ store_address_add_address(StoreAddressInfo * info,
     entries = g_new(GtkWidget *, NUM_FIELDS);
     info->entries_list = g_list_append(info->entries_list, entries);
 
-    text = internet_address_to_string(ia, FALSE);
+    text = internet_address_to_string(ia, NULL, FALSE);
     address = libbalsa_address_new();
     libbalsa_address_set_full_name(address,
                                    ia->name != NULL ? ia->name :


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