evolution r36179 - branches/mail-dbus-remoting/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36179 - branches/mail-dbus-remoting/mail
- Date: Fri, 29 Aug 2008 03:46:11 +0000 (UTC)
Author: sragavan
Date: Fri Aug 29 03:46:11 2008
New Revision: 36179
URL: http://svn.gnome.org/viewvc/evolution?rev=36179&view=rev
Log:
Fix hash table level.
Modified:
branches/mail-dbus-remoting/mail/camel-session-remote.c
Modified: branches/mail-dbus-remoting/mail/camel-session-remote.c
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-session-remote.c (original)
+++ branches/mail-dbus-remoting/mail/camel-session-remote.c Fri Aug 29 03:46:11 2008
@@ -59,7 +59,7 @@
}
if (!store_rhash)
- store_rhash = g_hash_table_new (g_direct_hash, g_direct_equal);
+ store_rhash = g_hash_table_new (g_str_hash, g_str_equal);
d(printf("Camel session constructed remotely\n"));
}
@@ -165,7 +165,7 @@
CamelObjectRemote *rstore;
if (!store_rhash)
- store_rhash = g_hash_table_new (g_direct_hash, g_direct_equal);
+ store_rhash = g_hash_table_new (g_str_hash, g_str_equal);
dbus_error_init (&error);
/* Invoke the appropriate dbind call to MailSessionRemoteImpl */
@@ -186,8 +186,8 @@
rstore->object_id = service;
rstore->type = CAMEL_RO_STORE;
rstore->hooks = NULL;
- d(printf("Camel session get service remotely\n"));
- g_hash_table_insert (store_rhash, g_hash_table_lookup(store_hash, service), rstore);
+ d(printf("Camel session get service remotely and added %s(%p) to rhash(%p)\n", service, rstore, store_rhash));
+ g_hash_table_insert (store_rhash, service, rstore);
return rstore;
}
@@ -219,8 +219,8 @@
rstore->object_id = service;
rstore->type = CAMEL_RO_STORE;
rstore->hooks = NULL;
- d(printf("Camel session get service connected remotely\n"));
- g_hash_table_insert (store_rhash, g_hash_table_lookup(store_hash, service), rstore);
+ d(printf("Camel session get service connected remotely and adding %s(%p) to rhash \n", service, rstore));
+ g_hash_table_insert (store_rhash, store_hash, rstore);
return rstore;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]