summaryrefslogtreecommitdiff
path: root/pidgin/plugins/gevolution/gevolution.c
diff options
context:
space:
mode:
authorRichard Laager <rlaager@pidgin.im>2007-06-16 19:44:59 +0000
committerRichard Laager <rlaager@pidgin.im>2007-06-16 19:44:59 +0000
commit24e6fa513ea900b8cb0345e24cbcf062427ddace (patch)
tree0c4341009e67938ffed1e745cf72c3c9fabe1092 /pidgin/plugins/gevolution/gevolution.c
parentfa13c7c25ca479dddb3a58ffb336ea0a082f6402 (diff)
downloadpidgin-24e6fa513ea900b8cb0345e24cbcf062427ddace.tar.gz
Re-fix the DBus list handling code by killing const GList* / const GSList*
everywhere. Now we maintain a list of functions which return a GList or GSList which must not be freed. Ideally at some point this will be replaced with code that looks at the Doxygen comment for the function and honors @constreturn, which I've declared as a macro around @return that prints a @note about not modifying or freeing the returned value.
Diffstat (limited to 'pidgin/plugins/gevolution/gevolution.c')
-rw-r--r--pidgin/plugins/gevolution/gevolution.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pidgin/plugins/gevolution/gevolution.c b/pidgin/plugins/gevolution/gevolution.c
index a895524d3f..974478161b 100644
--- a/pidgin/plugins/gevolution/gevolution.c
+++ b/pidgin/plugins/gevolution/gevolution.c
@@ -118,9 +118,9 @@ update_buddies_from_contact(EContact *contact)
}
static void
-contacts_changed_cb(EBookView *book_view, const GList *contacts)
+contacts_changed_cb(EBookView *book_view, GList *contacts)
{
- const GList *l;
+ GList *l;
if (purple_connections_get_all() == NULL)
return;