aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-06-27 17:26:46 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-06-27 17:26:46 +0800
commit5137c4537114e00ef1efa45803ae9909c25f35df (patch)
tree4d57d475ce1eeba2df709c23875d3caf075e3aa5
parent5ef309b2a2fbd87b65f7159f80ea2a21d249dbcf (diff)
downloadgsoc2013-evolution-5137c4537114e00ef1efa45803ae9909c25f35df.tar
gsoc2013-evolution-5137c4537114e00ef1efa45803ae9909c25f35df.tar.gz
gsoc2013-evolution-5137c4537114e00ef1efa45803ae9909c25f35df.tar.bz2
gsoc2013-evolution-5137c4537114e00ef1efa45803ae9909c25f35df.tar.lz
gsoc2013-evolution-5137c4537114e00ef1efa45803ae9909c25f35df.tar.xz
gsoc2013-evolution-5137c4537114e00ef1efa45803ae9909c25f35df.tar.zst
gsoc2013-evolution-5137c4537114e00ef1efa45803ae9909c25f35df.zip
Fix for Bug#33691
svn path=/trunk/; revision=32197
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 9f15099090..8ec642993b 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-27 Devashish Sharma <sdevashish@novell.com>
+
+ * gui/widgets/eab-gui-util.c (do_delete) :Fix for
+ Bug #333691.
+
2006-06-16 Devashish Sharma <sdevashish@novell.com>
* gui/contact-list-editor/e-contact-list-editor.c :
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index 62ca632acd..557699796b 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -661,8 +661,10 @@ do_delete (gpointer data, gpointer user_data)
{
EBook *book = user_data;
EContact *contact = data;
-
- e_book_async_remove_contact(book, contact, contact_deleted_cb, NULL);
+ const char *id;
+
+ id = e_contact_get_const (contact, E_CONTACT_UID);
+ e_book_remove_contact(book, id, NULL);
}
static void