[Commits] [SCM] claws branch, gtk2, updated. 3.19.0-42-g1d816bb15

mones at claws-mail.org mones at claws-mail.org
Sun Jun 5 16:48:09 UTC 2022


The branch, gtk2 has been updated
       via  1d816bb15001d193b9680b2e624a35dfeedd7191 (commit)
      from  0e7a9d08b25dd6deb0fd5cdc91f4914c040a41a7 (commit)

Summary of changes:
 src/mainwindow.c                                         | 8 +++-----
 src/plugins/mailmbox/mailmbox.c                          | 2 --
 src/plugins/newmail/newmail.c                            | 1 -
 src/plugins/notification/gtkhotkey/x11/eggaccelerators.c | 2 --
 src/plugins/pgpcore/select-keys.c                        | 4 +---
 src/plugins/vcalendar/vcal_folder.c                      | 2 --
 6 files changed, 4 insertions(+), 15 deletions(-)


- Log -----------------------------------------------------------------
commit 1d816bb15001d193b9680b2e624a35dfeedd7191
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun Jun 5 18:47:15 2022 +0200

    Remove unused macros
    
    Backport of 6ff340cb7ec7cfb1dd2761b8d72acb3b39e479e5.

diff --git a/src/mainwindow.c b/src/mainwindow.c
index 2b7d2afd2..f0a1111e8 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -102,8 +102,6 @@
 #include "w32_reg.h"
 #endif
 
-#define AC_LABEL_WIDTH	240
-
 /* list of all instantiated MainWindow */
 static GList *mainwin_list = NULL;
 
@@ -463,13 +461,13 @@ static gint mailing_list_create_submenu(MainWindow *mainwindow,
 				       MsgInfo *msginfo);
 
 static gint mailing_list_populate_submenu(GtkWidget *menu, const gchar * list_header);
-	
+
 static void get_url_part(const gchar **buf, gchar *url_decoded);
 
 static void mailing_list_compose(GtkWidget *w, gpointer *data);
- 
+
 static void mailing_list_open_uri(GtkWidget *w, gpointer *data);
-#define  SEPARATE_ACTION 500 
+
 static void mainwindow_quicksearch		(GtkAction	*action,
 				  gpointer	 data);
 static gboolean any_folder_want_synchronise(void);
diff --git a/src/plugins/mailmbox/mailmbox.c b/src/plugins/mailmbox/mailmbox.c
index f8e5cc528..66b025ef2 100644
--- a/src/plugins/mailmbox/mailmbox.c
+++ b/src/plugins/mailmbox/mailmbox.c
@@ -65,8 +65,6 @@
   RFC 2076
 */
 
-#define TMPDIR "/tmp"
-
 /* mbox is a file with a corresponding filename */
 
 #define UID_HEADER "X-LibEtPan-UID:"
diff --git a/src/plugins/newmail/newmail.c b/src/plugins/newmail/newmail.c
index 6616722d1..d7c5a24a4 100644
--- a/src/plugins/newmail/newmail.c
+++ b/src/plugins/newmail/newmail.c
@@ -36,7 +36,6 @@
 
 #define LOG_NAME	"NewLog"
 #define DEFAULT_DIR	"Mail"
-#define BUFSIZE		2048
 
 static gulong hook_id = HOOK_NONE;
 
diff --git a/src/plugins/notification/gtkhotkey/x11/eggaccelerators.c b/src/plugins/notification/gtkhotkey/x11/eggaccelerators.c
index d3616b2d1..206d9d941 100644
--- a/src/plugins/notification/gtkhotkey/x11/eggaccelerators.c
+++ b/src/plugins/notification/gtkhotkey/x11/eggaccelerators.c
@@ -39,8 +39,6 @@ enum
   EGG_MODMAP_ENTRY_LAST    = 8
 };
 
-#define MODMAP_ENTRY_TO_MODIFIER(x) (1 << (x))
-
 typedef struct
 {
   EggVirtualModifierType mapping[EGG_MODMAP_ENTRY_LAST];
diff --git a/src/plugins/pgpcore/select-keys.c b/src/plugins/pgpcore/select-keys.c
index 64ab9ce61..e3c2cd1ec 100644
--- a/src/plugins/pgpcore/select-keys.c
+++ b/src/plugins/pgpcore/select-keys.c
@@ -35,10 +35,8 @@
 #include "alertpanel.h"
 
 #define DIM(v) (sizeof(v)/sizeof((v)[0]))
-#define DIMof(type,member)   DIM(((type *)0)->member)
 
-
-enum col_titles { 
+enum col_titles {
     COL_ALGO,
     COL_KEYID,
     COL_NAME,
diff --git a/src/plugins/vcalendar/vcal_folder.c b/src/plugins/vcalendar/vcal_folder.c
index 6a39e35de..a76bba593 100644
--- a/src/plugins/vcalendar/vcal_folder.c
+++ b/src/plugins/vcalendar/vcal_folder.c
@@ -69,8 +69,6 @@
 #include <gtk/gtk.h>
 #include <dirent.h>
 
-#define VCAL_FOLDERITEM(item) ((VCalFolderItem *) item)
-
 #ifdef USE_PTHREAD
 #include <pthread.h>
 #endif

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list