[libsocialweb] contact: Remove unused code from copy from SwItem
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb] contact: Remove unused code from copy from SwItem
- Date: Fri, 29 Apr 2011 16:58:32 +0000 (UTC)
commit 6ac43eb2b84de6b8efb07e8f91e48cd6482c71c7
Author: Rob Bradford <rob linux intel com>
Date: Fri Apr 29 16:25:39 2011 +0100
contact: Remove unused code from copy from SwItem
libsocialweb/sw-contact.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/libsocialweb/sw-contact.c b/libsocialweb/sw-contact.c
index 8a4e53d..73de667 100644
--- a/libsocialweb/sw-contact.c
+++ b/libsocialweb/sw-contact.c
@@ -245,21 +245,6 @@ sw_contact_get_all (const SwContact *contact, const char *key)
g_intern_string (key));
}
-static void
-cache_date (SwContact *contact)
-{
- const char *s;
-
- if (contact->priv->cached_date)
- return;
-
- s = sw_contact_get (contact, "date");
- if (!s)
- return;
-
- contact->priv->cached_date = sw_time_t_from_string (s);
-}
-
void
sw_contact_dump (SwContact *contact)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]