evolution-data-server r8913 - branches/camel-db-summary/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8913 - branches/camel-db-summary/camel
- Date: Wed, 4 Jun 2008 14:17:52 +0000 (UTC)
Author: sragavan
Date: Wed Jun 4 14:17:52 2008
New Revision: 8913
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8913&view=rev
Log:
Clean up the naming convention.
Modified:
branches/camel-db-summary/camel/camel-folder-summary.c
branches/camel-db-summary/camel/camel-folder-summary.h
Modified: branches/camel-db-summary/camel/camel-folder-summary.c
==============================================================================
--- branches/camel-db-summary/camel/camel-folder-summary.c (original)
+++ branches/camel-db-summary/camel/camel-folder-summary.c Wed Jun 4 14:17:52 2008
@@ -157,7 +157,7 @@
s->nextuid = 1;
s->uids = g_ptr_array_new ();
- s->msginfo_hash = g_hash_table_new (g_str_hash, g_str_equal);
+ s->loaded_infos = g_hash_table_new (g_str_hash, g_str_equal);
p->summary_lock = g_mutex_new();
p->io_lock = g_mutex_new();
@@ -189,7 +189,7 @@
camel_folder_summary_clear(s);
g_ptr_array_free (s->uids, TRUE);
- g_hash_table_destroy (s->msginfo_hash);
+ g_hash_table_destroy (s->loaded_infos);
g_hash_table_foreach(p->filter_charset, free_o_name, NULL);
g_hash_table_destroy(p->filter_charset);
@@ -1175,7 +1175,7 @@
#endif
g_ptr_array_add (s->uids, (char *) camel_message_info_uid(info));
- g_hash_table_insert (s->msginfo_hash, (char *) camel_message_info_uid(info), info);
+ g_hash_table_insert (s->loaded_infos, (char *) camel_message_info_uid(info), info);
s->flags |= CAMEL_SUMMARY_DIRTY;
CAMEL_SUMMARY_UNLOCK(s, summary_lock);
@@ -1477,7 +1477,7 @@
{
CAMEL_SUMMARY_LOCK(s, summary_lock);
g_ptr_array_remove (s->uids, (char *) camel_message_info_uid (info));
- g_hash_table_remove (s->msginfo_hash, info);
+ g_hash_table_remove (s->loaded_infos, info);
s->flags |= CAMEL_SUMMARY_DIRTY;
s->meta_summary->msg_expunged = TRUE;
CAMEL_SUMMARY_UNLOCK(s, summary_lock);
Modified: branches/camel-db-summary/camel/camel-folder-summary.h
==============================================================================
--- branches/camel-db-summary/camel/camel-folder-summary.h (original)
+++ branches/camel-db-summary/camel/camel-folder-summary.h Wed Jun 4 14:17:52 2008
@@ -233,7 +233,7 @@
/* New members to replace the above depreacted members */
GPtrArray *uids;
- GHashTable *msginfo_hash;
+ GHashTable *loaded_infos;
struct _CamelFolder *folder; /* parent folder, for events */
struct _CamelFolderMetaSummary *meta_summary; /* Meta summary */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]