aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@src.gnome.org>2000-03-26 14:13:26 +0800
committerChris Toshok <toshok@src.gnome.org>2000-03-26 14:13:26 +0800
commit583d4f988977506a7bd8e227433a479f40f316b7 (patch)
tree1ed35d7e5c1fd2631c313034feb162206cb5cb28
parentc66daf5a80ddfcf2bc6c3b9e98823c0b2b0eadae (diff)
downloadgsoc2013-evolution-583d4f988977506a7bd8e227433a479f40f316b7.tar.gz
gsoc2013-evolution-583d4f988977506a7bd8e227433a479f40f316b7.tar.zst
gsoc2013-evolution-583d4f988977506a7bd8e227433a479f40f316b7.zip
pass GList* as second parameter to g_list_remove_link, not the data
* addressbook/backend/ebook/e-book.c (e_book_pop_op): pass GList* as second parameter to g_list_remove_link, not the data pointer. svn path=/trunk/; revision=2165
-rw-r--r--ChangeLog5
-rw-r--r--addressbook/backend/ebook/e-book.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 76a4cc434e..b0c2c9e311 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-25 Chris Toshok <toshok@laptoph.xtoph.org>
+
+ * addressbook/backend/ebook/e-book.c (e_book_pop_op): pass GList*
+ as second parameter to g_list_remove_link, not the data pointer.
+
2000-03-26 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card-types.h: Removed the
diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c
index ea8809c7a8..6d0a3394c2 100644
--- a/addressbook/backend/ebook/e-book.c
+++ b/addressbook/backend/ebook/e-book.c
@@ -88,7 +88,8 @@ e_book_pop_op (EBook *book)
popped = book->priv->pending_ops;
book->priv->pending_ops =
- g_list_remove_link (book->priv->pending_ops, (gpointer) op);
+ g_list_remove_link (book->priv->pending_ops,
+ book->priv->pending_ops);
g_list_free_1 (popped);