[balsa/wip/gtk4] mailbox-node: Fix the build



commit 422da89b7b6137c6fba793d1d4aa48469b27fa59
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Jun 1 08:10:02 2018 -0400

    mailbox-node: Fix the build

 src/mailbox-node.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/mailbox-node.c b/src/mailbox-node.c
index da57b075..d0bd3477 100644
--- a/src/mailbox-node.c
+++ b/src/mailbox-node.c
@@ -1330,15 +1330,15 @@ remove_special_mailbox_by_url(const gchar       *url,
 {
     LibBalsaMailbox **mailbox;
 
-    if (g_strcmp0(url, balsa_app.trash->url) == 0)
+    if (g_strcmp0(url, libbalsa_mailbox_get_url(balsa_app.trash)) == 0)
        mailbox = &balsa_app.trash;
-    else if (g_strcmp0(url, balsa_app.inbox->url) == 0)
+    else if (g_strcmp0(url, libbalsa_mailbox_get_url(balsa_app.inbox)) == 0)
        mailbox = &balsa_app.inbox;
-    else if (g_strcmp0(url, balsa_app.outbox->url) == 0)
+    else if (g_strcmp0(url, libbalsa_mailbox_get_url(balsa_app.outbox)) == 0)
        mailbox = &balsa_app.outbox;
-    else if (g_strcmp0(url, balsa_app.sentbox->url) == 0)
+    else if (g_strcmp0(url, libbalsa_mailbox_get_url(balsa_app.sentbox)) == 0)
        mailbox = &balsa_app.sentbox;
-    else if (g_strcmp0(url, balsa_app.draftbox->url) == 0)
+    else if (g_strcmp0(url, libbalsa_mailbox_get_url(balsa_app.draftbox)) == 0)
        mailbox = &balsa_app.draftbox;
     else
         mailbox = NULL;


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