Mercurial > pidgin.yaz
diff pidgin/plugins/gevolution/gevolution.c @ 18118:ab6d2763b8d8
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.
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Sat, 16 Jun 2007 19:44:59 +0000 |
| parents | 873ee0038752 |
| children | f054b6fa9dfc |
line wrap: on
line diff
--- a/pidgin/plugins/gevolution/gevolution.c Sat Jun 16 19:21:06 2007 +0000 +++ b/pidgin/plugins/gevolution/gevolution.c Sat Jun 16 19:44:59 2007 +0000 @@ -118,9 +118,9 @@ } 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;
