diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-17 01:09:38 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-17 01:09:38 +0800 |
commit | 8cc3a0e4dc9d3664f7b4e54d03d1c5b1936eb2da (patch) | |
tree | ce8454bcd1bee579b4fb0977872e85ed8f411358 /camel/providers/imap | |
parent | 62e82291e808731ec8d97fffe4528c641d31d939 (diff) | |
download | gsoc2013-evolution-8cc3a0e4dc9d3664f7b4e54d03d1c5b1936eb2da.tar gsoc2013-evolution-8cc3a0e4dc9d3664f7b4e54d03d1c5b1936eb2da.tar.gz gsoc2013-evolution-8cc3a0e4dc9d3664f7b4e54d03d1c5b1936eb2da.tar.bz2 gsoc2013-evolution-8cc3a0e4dc9d3664f7b4e54d03d1c5b1936eb2da.tar.lz gsoc2013-evolution-8cc3a0e4dc9d3664f7b4e54d03d1c5b1936eb2da.tar.xz gsoc2013-evolution-8cc3a0e4dc9d3664f7b4e54d03d1c5b1936eb2da.tar.zst gsoc2013-evolution-8cc3a0e4dc9d3664f7b4e54d03d1c5b1936eb2da.zip |
Remove the EXTRA_GNOME_CFLAGS include.
2001-04-16 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Remove the EXTRA_GNOME_CFLAGS include.
* camel-store.c (camel_mkdir_hier): Convenience function that it
seems a number of camel-store implementations used gal for.
* providers/nntp/camel-nntp-store.c (ensure_news_dir_exists): Lets
not depend on gal for just e_mkdir_hier() - use camel_mkdir_hier()
instead.
* providers/nntp/camel-imap-store.c: Lets not depend on gal for
just e_mkdir_hier() - use camel_mkdir_hier() instead.
* camel-session.c (camel_session_get_storage_path): Don't depend
on e_mkdir_heir() anymore, use the CamelStore version.
* camel-folder-search.h: Removed gal dependency, why was this even
there in the first place?
* providers/imap/camel-imap-folder.c: Don't need gal/util/e-util.h
here, so remove it.
* string-utils.c (strstrcase): New function, well more like old
function brought back to life so we don't have to depend on gal.
* providers/imap/camel-imap-store.c (imap_store_setup_online): Use
strstrcase rather than e_strstrcase so we don't depend on gal.
(get_unread_online): Same here.
* providers/smtp/camel-smtp-transport.c (smtp_helo): Use
strstrcase.
svn path=/trunk/; revision=9383
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 2 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 13 |
2 files changed, 6 insertions, 9 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index f30c731e0c..9f325aae56 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -36,8 +36,6 @@ #include <fcntl.h> #include <ctype.h> -#include <gal/util/e-util.h> - #include "camel-imap-folder.h" #include "camel-imap-command.h" #include "camel-imap-message-cache.h" diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 214b9fe18b..d7aec42f2c 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -32,7 +32,6 @@ #include <unistd.h> #include <errno.h> -#include <gal/util/e-util.h> #include "e-util/e-path.h" #include "camel-imap-store.h" @@ -580,11 +579,11 @@ imap_store_setup_online (CamelImapStore *store, CamelException *ex) result = camel_imap_response_extract (response, "NAMESPACE", ex); if (!result) return FALSE; - - name = e_strstrcase (result, "NAMESPACE (("); + + name = strstrcase (result, "NAMESPACE (("); if (name) { char *sep; - + name += 12; store->namespace = imap_parse_string (&name, &len); if (name && *name++ == ' ') { @@ -870,7 +869,7 @@ get_folder (CamelStore *store, const char *folder_name, guint32 flags, folder_dir = e_path_to_physical (imap_store->storage_path, folder_name); - if (e_mkdir_hier (folder_dir, S_IRWXU) == 0) { + if (camel_mkdir_hier (folder_dir, S_IRWXU) == 0) { new_folder = camel_imap_folder_new (store, folder_name, short_name, folder_dir, ex); @@ -1064,8 +1063,8 @@ get_unread_online (CamelImapStore *imap_store, CamelFolderInfo *fi) status = camel_imap_response_extract (response, "STATUS", NULL); if (!status) return; - - p = e_strstrcase (status, "UNSEEN"); + + p = strstrcase (status, "UNSEEN"); if (p) fi->unread_message_count = strtoul (p + 6, NULL, 10); g_free (status); |