Use reason to keep alive CamelFolder while we process folder_tracking_changed
authorJose Dapena Paz <jdapena@igalia.com>
Mon, 27 Jul 2009 17:16:57 +0000 (17:16 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 27 Jul 2009 17:16:57 +0000 (17:16 +0000)
commit5fedc4017dbe12de68a25068ca982dfabecae7d3
tree05ceb5c30f13292a36275a3f343daee781a841f1
parent976256cbaa24bbd9059f65dd09c4055dce372aaf
Use reason to keep alive CamelFolder while we process folder_tracking_changed

* libtinymail-camel/tny-camel-folder.c (folder_tracking_changed):
  reimplemented to load the summary when we get a folder changed
  event from camel, and use the standard folder_changed handler.
  Avoids crashes if the camel folder is freed earlier than
  folder changed handling finishes.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@3954 d4f517bd-a70b-0410-9f68-c17655437c52
ChangeLog
libtinymail-camel/tny-camel-folder.c