Mercurial > pidgin.yaz
comparison libpurple/notify.h @ 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 | 926ccb104da0 |
children | 2177a11e169d |
comparison
equal
deleted
inserted
replaced
18117:cd81f8f36788 | 18118:ab6d2763b8d8 |
---|---|
454 * | 454 * |
455 * To remove a PurpleNotifyUserInfoEntry, use purple_notify_user_info_remove_entry(). Do not use the GList directly. | 455 * To remove a PurpleNotifyUserInfoEntry, use purple_notify_user_info_remove_entry(). Do not use the GList directly. |
456 * | 456 * |
457 * @param user_info The PurpleNotifyUserInfo | 457 * @param user_info The PurpleNotifyUserInfo |
458 * | 458 * |
459 * @result A GList of PurpleNotifyUserInfoEntry objects | 459 * @constreturn A GList of PurpleNotifyUserInfoEntry objects |
460 */ | 460 */ |
461 GList *purple_notify_user_info_get_entries(PurpleNotifyUserInfo *user_info); | 461 GList *purple_notify_user_info_get_entries(PurpleNotifyUserInfo *user_info); |
462 | 462 |
463 /** | 463 /** |
464 * Create a textual representation of a PurpleNotifyUserInfo, separating entries with newline | 464 * Create a textual representation of a PurpleNotifyUserInfo, separating entries with newline |