aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-18 06:16:33 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-18 06:16:33 +0800
commit39400a38c775a76faa342d519454d789e55bb90d (patch)
tree62b607d5e8edfc3b8f82253a39e0f58293ea6144 /camel/providers
parent0996e4f1ac82ee9fe15be3367d90e0dffd21d936 (diff)
downloadgsoc2013-evolution-39400a38c775a76faa342d519454d789e55bb90d.tar.gz
gsoc2013-evolution-39400a38c775a76faa342d519454d789e55bb90d.tar.zst
gsoc2013-evolution-39400a38c775a76faa342d519454d789e55bb90d.zip
use camel_stream_reset instead of seek. The formatter should be able to
2000-02-17 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-formatter.c (handle_text_plain): (handle_text_html): use camel_stream_reset instead of seek. The formatter should be able to work with all streams, not only seekable streams. In the case where some provider implementation would not be able to provide a reset method to their stream, implementors would have to find a workaround. * camel/camel-session.c (camel_session_new): use (void) instean of () in function decl. * camel/camel-folder.c: ifdef async operation related code. * camel/camel-seekable-stream.c (_seek): added a warning. (_reset): default implementation of reset for seekable stream. * camel/camel-mime-message.h: set_received_date declaration fix. cosmetic changes. * camel/providers/mbox/camel-mbox-provider.c (camel_provider_module_init): use (void) instead of (). * camel/camel-stream.c (camel_stream_reset): new method for CamelStream. svn path=/trunk/; revision=1835
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/mbox/Makefile.am8
-rw-r--r--camel/providers/mbox/camel-mbox-provider.c6
-rw-r--r--camel/providers/mbox/camel-mbox-store.c1
3 files changed, 10 insertions, 5 deletions
diff --git a/camel/providers/mbox/Makefile.am b/camel/providers/mbox/Makefile.am
index 62cfeaba22..eca7233ae3 100644
--- a/camel/providers/mbox/Makefile.am
+++ b/camel/providers/mbox/Makefile.am
@@ -4,9 +4,10 @@ SUBDIRS =
libcamelmboxincludedir = $(includedir)/camel
-lib_LTLIBRARIES = libcamelmbox.la
-#provider_LTLIBRARIES = libcamelmbox.la
+providerdir = $(pkglibdir)/camel-providers/$(VERSION)
+
+provider_LTLIBRARIES = libcamelmbox.la
INCLUDES = -I.. -I$(srcdir)/.. -I$(includedir) \
-I$(top_srcdir)/intl \
@@ -34,6 +35,7 @@ libcamelmboxinclude_HEADERS = \
libcamelmbox_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
#libcamelmbox_la_LIBADD = -L$(top_srcdir)/libibex -libex
-libcamelmbox_la_LIBADD = $(top_srcdir)/libibex/libibex.la $(UNICODE_LIBS)
+#libcamelmbox_la_LIBADD = $(top_srcdir)/libibex/libibex.la $(UNICODE_LIBS)
+libcamelmbox_la_LIBADD = -L$(top_srcdir)/libibex -libex $(UNICODE_LIBS)
EXTRA_DIST =
diff --git a/camel/providers/mbox/camel-mbox-provider.c b/camel/providers/mbox/camel-mbox-provider.c
index 873dca0954..a63d832d5d 100644
--- a/camel/providers/mbox/camel-mbox-provider.c
+++ b/camel/providers/mbox/camel-mbox-provider.c
@@ -39,7 +39,11 @@ static CamelProvider _mbox_provider = {
};
CamelProvider *
-camel_provider_module_init ()
+camel_provider_module_init (void);
+
+
+CamelProvider *
+camel_provider_module_init (void)
{
_mbox_provider.object_type = camel_mbox_store_get_type();
return &_mbox_provider;
diff --git a/camel/providers/mbox/camel-mbox-store.c b/camel/providers/mbox/camel-mbox-store.c
index f8b3b62718..12923b1b5a 100644
--- a/camel/providers/mbox/camel-mbox-store.c
+++ b/camel/providers/mbox/camel-mbox-store.c
@@ -54,7 +54,6 @@ camel_mbox_store_class_init (CamelMboxStoreClass *camel_mbox_store_class)
static void
camel_mbox_store_init (gpointer object, gpointer klass)
{
- CamelMboxStore *mbox_store = CAMEL_MBOX_STORE (object);
CamelStore *store = CAMEL_STORE (object);
store->separator = '/';