[PATCH] Use GMime's native GIO Stream module



Hi all,

a recent discussion with Jeff revealed that GMime 2.6 /does/ include a GIO stream module.  It's just not 
documented...

So we can remove the redundant implementation in Balsa - see the attached trivial patch.  Additionally, the 
files libbalsa/gmime-stream-gio.c and libbalsa/gmime-stream-gio.h should be removed from the repo.

Cheers,
Albrecht.
diff --git a/libbalsa/Makefile.am b/libbalsa/Makefile.am
index d770c41..351a48c 100644
--- a/libbalsa/Makefile.am
+++ b/libbalsa/Makefile.am
@@ -90,8 +90,6 @@ libbalsa_a_SOURCES =          \
        folder-scanners.h       \
        gmime-filter-header.c      \
        gmime-filter-header.h      \
-       gmime-stream-gio.c      \
-       gmime-stream-gio.h      \
        html.c                  \
        html.h                  \
        identity.c              \
diff --git a/libbalsa/libbalsa-vfs.c b/libbalsa/libbalsa-vfs.c
index 2dd985a..8a3b20c 100644
--- a/libbalsa/libbalsa-vfs.c
+++ b/libbalsa/libbalsa-vfs.c
@@ -35,7 +35,6 @@
 #include "misc.h"
 
 #include <gio/gio.h>
-#include "gmime-stream-gio.h"
 
 
 #define LIBBALSA_VFS_ERROR_QUARK (g_quark_from_static_string("libbalsa-vfs"))

Attachment: pgptpNBpB02bi.pgp
Description: PGP signature



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