[Commits] [SCM] claws branch, master, updated. 3.18.0-79-g69f8c49ca

mones at claws-mail.org mones at claws-mail.org
Sun Sep 5 23:08:03 UTC 2021


The branch, master has been updated
       via  69f8c49ca4c5d90e39f8f9d0c2389b6e5c9d116a (commit)
      from  86b5e30f766a5b15dabe54fd42087dd5ce232b1f (commit)

Summary of changes:
 src/common/tags.c                               | 2 --
 src/compose.c                                   | 1 -
 src/edittags.c                                  | 1 -
 src/gtk/gtkutils.c                              | 1 -
 src/gtk/spell_entry.c                           | 1 -
 src/matcher.c                                   | 1 -
 src/plugins/acpi_notifier/acpi_notifier.c       | 1 -
 src/plugins/archive/archiver_prefs.c            | 1 -
 src/plugins/att_remover/att_remover.c           | 1 -
 src/plugins/bogofilter/bogofilter.c             | 1 -
 src/plugins/bsfilter/bsfilter.c                 | 3 ---
 src/plugins/bsfilter/bsfilter_gtk.c             | 1 -
 src/plugins/fetchinfo/fetchinfo_plugin.c        | 1 -
 src/plugins/litehtml_viewer/litehtml/litehtml.h | 2 --
 src/plugins/mailmbox/mailmbox.c                 | 1 -
 src/plugins/mailmbox/mailmbox_folder.c          | 3 ---
 src/plugins/mailmbox/plugin.c                   | 1 -
 src/plugins/newmail/newmail.c                   | 1 -
 src/plugins/notification/notification_banner.c  | 1 -
 src/plugins/pdf_viewer/poppler_viewer.h         | 1 -
 src/plugins/perl/perl_gtk.c                     | 2 --
 src/plugins/python/clawsmailmodule.c            | 1 -
 src/plugins/smime/smime.c                       | 1 -
 src/plugins/spam_report/spam_report.c           | 1 -
 src/plugins/vcalendar/common-views.c            | 1 -
 src/plugins/vcalendar/day-view.c                | 1 -
 src/plugins/vcalendar/month-view.c              | 1 -
 src/prefs_actions.c                             | 1 -
 src/prefs_common.c                              | 1 -
 src/prefs_folder_item.c                         | 1 -
 src/prefs_image_viewer.c                        | 1 -
 src/prefs_template.c                            | 1 -
 32 files changed, 39 deletions(-)


- Log -----------------------------------------------------------------
commit 69f8c49ca4c5d90e39f8f9d0c2389b6e5c9d116a
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Sep 6 01:07:22 2021 +0200

    Remove duplicate includes

diff --git a/src/common/tags.c b/src/common/tags.c
index 7c8bf4dc3..819d9d615 100644
--- a/src/common/tags.c
+++ b/src/common/tags.c
@@ -22,8 +22,6 @@
 #include "claws-features.h"
 #endif
 
-#include "defs.h"
-
 #include <glib.h>
 #include <glib/gi18n.h>
 #include <stdio.h>
diff --git a/src/compose.c b/src/compose.c
index 93727056c..a777e857a 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -41,7 +41,6 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <time.h>
-#include <stdlib.h>
 #if HAVE_SYS_WAIT_H
 #  include <sys/wait.h>
 #endif
diff --git a/src/edittags.c b/src/edittags.c
index 94504c33c..8cfb61c24 100644
--- a/src/edittags.c
+++ b/src/edittags.c
@@ -45,7 +45,6 @@
 #include "alertpanel.h"
 #include "summaryview.h"
 #include "tags.h"
-#include "gtkutils.h"
 #include "manual.h"
 
 enum {
diff --git a/src/gtk/gtkutils.c b/src/gtk/gtkutils.c
index eb73c34f0..dc69ede9b 100644
--- a/src/gtk/gtkutils.c
+++ b/src/gtk/gtkutils.c
@@ -57,7 +57,6 @@
 #include "prefs_common.h"
 #include "manage_window.h"
 #include "manual.h"
-#include "combobox.h"
 
 gboolean gtkut_get_font_size(GtkWidget *widget,
 			     gint *width, gint *height)
diff --git a/src/gtk/spell_entry.c b/src/gtk/spell_entry.c
index 44b91bcdd..639dedda3 100644
--- a/src/gtk/spell_entry.c
+++ b/src/gtk/spell_entry.c
@@ -34,7 +34,6 @@
 #include <gdk/gdkkeysyms.h>
 
 #include <string.h>
-#include <glib.h>
 #include <gtk/gtk.h>
 
 #include "spell_entry.h"
diff --git a/src/matcher.c b/src/matcher.c
index b4cd61def..8a1020987 100644
--- a/src/matcher.c
+++ b/src/matcher.c
@@ -43,7 +43,6 @@
 #include "codeconv.h"
 #include "quoted-printable.h"
 #include "claws.h"
-#include <ctype.h>
 #include "prefs_common.h"
 #include "log.h"
 #include "tags.h"
diff --git a/src/plugins/acpi_notifier/acpi_notifier.c b/src/plugins/acpi_notifier/acpi_notifier.c
index bb4e8380d..bf5ccb312 100644
--- a/src/plugins/acpi_notifier/acpi_notifier.c
+++ b/src/plugins/acpi_notifier/acpi_notifier.c
@@ -31,7 +31,6 @@
 
 #include <string.h>
 
-#include <glib.h>
 #include <gtk/gtk.h>
 
 #include "defs.h"
diff --git a/src/plugins/archive/archiver_prefs.c b/src/plugins/archive/archiver_prefs.c
index cee6cb9cd..9b41b854b 100644
--- a/src/plugins/archive/archiver_prefs.c
+++ b/src/plugins/archive/archiver_prefs.c
@@ -27,7 +27,6 @@
 
 #include "defs.h"
 
-#include <glib.h>
 #include <gtk/gtk.h>
 
 #include "gtkutils.h"
diff --git a/src/plugins/att_remover/att_remover.c b/src/plugins/att_remover/att_remover.c
index 80825d9a1..76c8edae1 100644
--- a/src/plugins/att_remover/att_remover.c
+++ b/src/plugins/att_remover/att_remover.c
@@ -38,7 +38,6 @@
 #include "summaryview.h"
 #include "folder.h"
 #include "version.h"
-#include "summaryview.h"
 #include "procmime.h"
 #include "alertpanel.h"
 #include "inc.h"
diff --git a/src/plugins/bogofilter/bogofilter.c b/src/plugins/bogofilter/bogofilter.c
index 60a98c9de..e44a31c1e 100644
--- a/src/plugins/bogofilter/bogofilter.c
+++ b/src/plugins/bogofilter/bogofilter.c
@@ -27,7 +27,6 @@
 
 #include <sys/types.h>
 #include <sys/wait.h>
-#include <errno.h>
 
 #include <glib.h>
 #include <glib/gi18n.h>
diff --git a/src/plugins/bsfilter/bsfilter.c b/src/plugins/bsfilter/bsfilter.c
index 901ed1ffb..569909c9c 100644
--- a/src/plugins/bsfilter/bsfilter.c
+++ b/src/plugins/bsfilter/bsfilter.c
@@ -35,9 +35,6 @@
 #ifdef USE_PTHREAD
 #include <pthread.h>
 #endif
-#include <errno.h>
-
-#include <glib.h>
 
 #include "common/claws.h"
 #include "common/version.h"
diff --git a/src/plugins/bsfilter/bsfilter_gtk.c b/src/plugins/bsfilter/bsfilter_gtk.c
index c329d6808..55d9de822 100644
--- a/src/plugins/bsfilter/bsfilter_gtk.c
+++ b/src/plugins/bsfilter/bsfilter_gtk.c
@@ -28,7 +28,6 @@
 
 #include "defs.h"
 
-#include <glib.h>
 #include <gtk/gtk.h>
 #include "gtk/gtkutils.h"
 
diff --git a/src/plugins/fetchinfo/fetchinfo_plugin.c b/src/plugins/fetchinfo/fetchinfo_plugin.c
index 75d597121..8fe1330f0 100644
--- a/src/plugins/fetchinfo/fetchinfo_plugin.c
+++ b/src/plugins/fetchinfo/fetchinfo_plugin.c
@@ -42,7 +42,6 @@
 #include "quoted-printable.h"
 /* parse headers */
 #include "procheader.h"
-#include "plugin.h"
 
 static gulong mail_receive_hook_id = HOOK_NONE;
 
diff --git a/src/plugins/litehtml_viewer/litehtml/litehtml.h b/src/plugins/litehtml_viewer/litehtml/litehtml.h
index 75db8300e..5d1ffd19d 100644
--- a/src/plugins/litehtml_viewer/litehtml/litehtml.h
+++ b/src/plugins/litehtml_viewer/litehtml/litehtml.h
@@ -5,8 +5,6 @@
 #include "litehtml/document.h"
 #include "litehtml/html_tag.h"
 #include "litehtml/stylesheet.h"
-#include "litehtml/stylesheet.h"
 #include "litehtml/element.h"
-#include "litehtml/html_tag.h"
 
 #endif  // LITEHTML_H
diff --git a/src/plugins/mailmbox/mailmbox.c b/src/plugins/mailmbox/mailmbox.c
index 1432f467e..f8e5cc528 100644
--- a/src/plugins/mailmbox/mailmbox.c
+++ b/src/plugins/mailmbox/mailmbox.c
@@ -47,7 +47,6 @@
 #include <fcntl.h>
 #include <time.h>
 #include <sys/types.h>
-#include <unistd.h>
 
 #include <string.h>
 #include <ctype.h>
diff --git a/src/plugins/mailmbox/mailmbox_folder.c b/src/plugins/mailmbox/mailmbox_folder.c
index 632fa3d73..0bac1491d 100644
--- a/src/plugins/mailmbox/mailmbox_folder.c
+++ b/src/plugins/mailmbox/mailmbox_folder.c
@@ -28,8 +28,6 @@
 
 #include "defs.h"
 
-#include <glib.h>
-#include <glib/gi18n.h>
 #include <dirent.h>
 #include <sys/stat.h>
 #include <unistd.h>
@@ -37,7 +35,6 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <fcntl.h>
-#include <unistd.h>
 #include <sys/mman.h>
 
 #undef MEASURE_TIME
diff --git a/src/plugins/mailmbox/plugin.c b/src/plugins/mailmbox/plugin.c
index 91476c853..4fca03890 100644
--- a/src/plugins/mailmbox/plugin.c
+++ b/src/plugins/mailmbox/plugin.c
@@ -31,7 +31,6 @@
 #include "mailmbox_folder.h"
 #include "common/version.h"
 #include "plugin_gtk.h"
-#include "plugin.h"
 #include "main.h"
 
 gint plugin_init(gchar **error)
diff --git a/src/plugins/newmail/newmail.c b/src/plugins/newmail/newmail.c
index 9a925e77f..87c118000 100644
--- a/src/plugins/newmail/newmail.c
+++ b/src/plugins/newmail/newmail.c
@@ -30,7 +30,6 @@
 
 #include <inttypes.h>
 
-#include "plugin.h"
 #include "file-utils.h"
 
 #define LOG_NAME	"NewLog"
diff --git a/src/plugins/notification/notification_banner.c b/src/plugins/notification/notification_banner.c
index e025eae9c..2c3f47c14 100644
--- a/src/plugins/notification/notification_banner.c
+++ b/src/plugins/notification/notification_banner.c
@@ -35,7 +35,6 @@
 #include "procmsg.h"
 #include "messageview.h"
 #include "compose.h"
-#include "menu.h"
 
 #include "notification_core.h"
 #include "notification_prefs.h"
diff --git a/src/plugins/pdf_viewer/poppler_viewer.h b/src/plugins/pdf_viewer/poppler_viewer.h
index 14dfd210d..029f345ec 100644
--- a/src/plugins/pdf_viewer/poppler_viewer.h
+++ b/src/plugins/pdf_viewer/poppler_viewer.h
@@ -34,7 +34,6 @@
 #include <messageview.h>
 #include <mimeview.h>
 #include <alertpanel.h>
-#include <mimeview.h>
 
 /*#ifdef USE_PTHREAD
  *#include <pthread.h>
diff --git a/src/plugins/perl/perl_gtk.c b/src/plugins/perl/perl_gtk.c
index be615361e..3a628a3dc 100644
--- a/src/plugins/perl/perl_gtk.c
+++ b/src/plugins/perl/perl_gtk.c
@@ -29,8 +29,6 @@
 
 #include <string.h>
 
-#include <glib.h>
-#include <glib/gi18n.h>
 #include <gtk/gtk.h>
 
 #include "common/utils.h"
diff --git a/src/plugins/python/clawsmailmodule.c b/src/plugins/python/clawsmailmodule.c
index e6eddebdd..3a4d8d576 100644
--- a/src/plugins/python/clawsmailmodule.c
+++ b/src/plugins/python/clawsmailmodule.c
@@ -47,7 +47,6 @@
 #include "common/tags.h"
 #include "account.h"
 
-#include <glib.h>
 
 static PyObject *cm_module = NULL;
 
diff --git a/src/plugins/smime/smime.c b/src/plugins/smime/smime.c
index 0d8325938..6089bb925 100644
--- a/src/plugins/smime/smime.c
+++ b/src/plugins/smime/smime.c
@@ -41,7 +41,6 @@
 
 #include "alertpanel.h"
 #include "prefs_common.h"
-#include "procmime.h"
 #include "plugin.h"
 #include "file-utils.h"
 
diff --git a/src/plugins/spam_report/spam_report.c b/src/plugins/spam_report/spam_report.c
index a9b848cd1..edaf53851 100644
--- a/src/plugins/spam_report/spam_report.c
+++ b/src/plugins/spam_report/spam_report.c
@@ -42,7 +42,6 @@
 #include "procmsg.h"
 #include "log.h"
 #include "inc.h"
-#include "plugin.h"
 #include "menu.h"
 #include "defs.h"
 #include "procheader.h"
diff --git a/src/plugins/vcalendar/common-views.c b/src/plugins/vcalendar/common-views.c
index d372802bb..63550b0d8 100644
--- a/src/plugins/vcalendar/common-views.c
+++ b/src/plugins/vcalendar/common-views.c
@@ -32,7 +32,6 @@
 #include <string.h>
 #include <time.h>
 
-#include <glib.h>
 #include <glib/gprintf.h>
 #include <gdk/gdkkeysyms.h>
 #include <gdk/gdk.h>
diff --git a/src/plugins/vcalendar/day-view.c b/src/plugins/vcalendar/day-view.c
index 63d3fbc94..fb5a49c6c 100644
--- a/src/plugins/vcalendar/day-view.c
+++ b/src/plugins/vcalendar/day-view.c
@@ -35,7 +35,6 @@
 #include <string.h>
 #include <time.h>
 
-#include <glib.h>
 #include <glib/gprintf.h>
 #include <gdk/gdkkeysyms.h>
 #include <gdk/gdk.h>
diff --git a/src/plugins/vcalendar/month-view.c b/src/plugins/vcalendar/month-view.c
index e2afed389..6a9535231 100644
--- a/src/plugins/vcalendar/month-view.c
+++ b/src/plugins/vcalendar/month-view.c
@@ -35,7 +35,6 @@
 #include <string.h>
 #include <time.h>
 
-#include <glib.h>
 #include <glib/gprintf.h>
 #include <gdk/gdkkeysyms.h>
 #include <gdk/gdk.h>
diff --git a/src/prefs_actions.c b/src/prefs_actions.c
index f0d6272d5..4b70f68f0 100644
--- a/src/prefs_actions.c
+++ b/src/prefs_actions.c
@@ -44,7 +44,6 @@
 #include "prefs_actions.h"
 #include "action.h"
 #include "description_window.h"
-#include "gtkutils.h"
 #include "manual.h"
 #include "menu.h"
 #include "filtering.h"
diff --git a/src/prefs_common.c b/src/prefs_common.c
index 491ef8455..75dbe6c02 100644
--- a/src/prefs_common.c
+++ b/src/prefs_common.c
@@ -56,7 +56,6 @@
 #include "folder.h"
 #include "socket.h"
 #include "filesel.h"
-#include "folderview.h"
 #include "stock_pixmap.h"
 #include "prefswindow.h"
 #include "colorlabel.h"
diff --git a/src/prefs_folder_item.c b/src/prefs_folder_item.c
index 7d16efab5..a2cf2cc34 100644
--- a/src/prefs_folder_item.c
+++ b/src/prefs_folder_item.c
@@ -33,7 +33,6 @@
 #include "alertpanel.h"
 #include "prefs_folder_item.h"
 #include "folderview.h"
-#include "folder.h"
 #include "summaryview.h"
 #include "menu.h"
 #include "account.h"
diff --git a/src/prefs_image_viewer.c b/src/prefs_image_viewer.c
index d7748db54..29e6e23bc 100644
--- a/src/prefs_image_viewer.c
+++ b/src/prefs_image_viewer.c
@@ -34,7 +34,6 @@
 #include "prefswindow.h"
 
 #include "prefs_common.h"
-#include "prefs_gtk.h"
 
 typedef struct _ImageViewerPage
 {
diff --git a/src/prefs_template.c b/src/prefs_template.c
index 77a34bed4..ea3a938d6 100644
--- a/src/prefs_template.c
+++ b/src/prefs_template.c
@@ -41,7 +41,6 @@
 #include "quote_fmt.h"
 #include "prefs_common.h"
 #include "manual.h"
-#include "gtkutils.h"
 #include "menu.h"
 #include "account.h"
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list