aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-mem.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-07-11 08:01:25 +0800
committerChris Toshok <toshok@src.gnome.org>2002-07-11 08:01:25 +0800
commit2d16792fd5607dd55863044d8afc352f3ff8f24a (patch)
tree00fa4c7c8155c586bc24c73851937c77e4e805c0 /camel/camel-stream-mem.c
parent56347723d5b1116060f280b9d928a74038938ac2 (diff)
downloadgsoc2013-evolution-2d16792fd5607dd55863044d8afc352f3ff8f24a.tar
gsoc2013-evolution-2d16792fd5607dd55863044d8afc352f3ff8f24a.tar.gz
gsoc2013-evolution-2d16792fd5607dd55863044d8afc352f3ff8f24a.tar.bz2
gsoc2013-evolution-2d16792fd5607dd55863044d8afc352f3ff8f24a.tar.lz
gsoc2013-evolution-2d16792fd5607dd55863044d8afc352f3ff8f24a.tar.xz
gsoc2013-evolution-2d16792fd5607dd55863044d8afc352f3ff8f24a.tar.zst
gsoc2013-evolution-2d16792fd5607dd55863044d8afc352f3ff8f24a.zip
actually remove the items from the pointer array too, so an error while
2002-07-10 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-summary.c (clear_items): actually remove the items from the pointer array too, so an error while loading doesn't leave the memory summary corrupted. (pas_backend_summary_load_header): bleah, load the num_items and summary_mtime in the right order :) Also, set upgraded to TRUE if we loaded a v1.0 summary. (pas_backend_summary_open): make this return a gboolean, return TRUE if the summary is already open (priv->fp != NULL). return FALSE in error conditions. (pas_backend_summary_load): if summary_open returns FALSE, return FALSE, also set the dirty flag to FALSE after we load, and if the summary was upgraded write it out. (pas_backend_summary_save): update the in memory mtime to that of the file when we save. (summary_flush_func): if we're not dirty, do nothing and return. (pas_backend_summary_is_up_to_date): make sure we've opened the summary. (pas_backend_summary_get_summary_vcard): fix compiler warning. svn path=/trunk/; revision=17416
Diffstat (limited to 'camel/camel-stream-mem.c')
0 files changed, 0 insertions, 0 deletions