diff options
author | Richard Laager <rlaager@pidgin.im> | 2007-06-16 19:44:59 +0000 |
---|---|---|
committer | Richard Laager <rlaager@pidgin.im> | 2007-06-16 19:44:59 +0000 |
commit | 24e6fa513ea900b8cb0345e24cbcf062427ddace (patch) | |
tree | 0c4341009e67938ffed1e745cf72c3c9fabe1092 /libpurple/savedstatuses.h | |
parent | fa13c7c25ca479dddb3a58ffb336ea0a082f6402 (diff) | |
download | pidgin-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 'libpurple/savedstatuses.h')
-rw-r--r-- | libpurple/savedstatuses.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/savedstatuses.h b/libpurple/savedstatuses.h index d4a96999fe..4a362ec662 100644 --- a/libpurple/savedstatuses.h +++ b/libpurple/savedstatuses.h @@ -151,9 +151,9 @@ gboolean purple_savedstatus_delete(const char *title); /** * Returns all saved statuses. * - * @return A list of saved statuses. + * @constreturn A list of saved statuses. */ -const GList *purple_savedstatuses_get_all(void); +GList *purple_savedstatuses_get_all(void); /** * Returns the n most popular saved statuses. "Popularity" is |