Mercurial > pidgin.yaz
diff src/gtkblist.h @ 5631:960fe32ea9b7
[gaim-migrate @ 6038]
i'm tired, so i'm committing what i've got
kingant will do a better job with what i hacked into oscar to make it work ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 01 Jun 2003 06:02:03 +0000 |
parents | 9eb5b13fd412 |
children | 059d95c67cda |
line wrap: on
line diff
--- a/src/gtkblist.h Sun Jun 01 05:18:43 2003 +0000 +++ b/src/gtkblist.h Sun Jun 01 06:02:03 2003 +0000 @@ -136,6 +136,7 @@ extern GSList *gaim_gtk_blist_sort_methods; struct gaim_gtk_blist_sort_method { + char *id; char *name; gaim_gtk_blist_sort_function func; }; @@ -143,25 +144,26 @@ /** * Registers a buddy list sorting method. * + * @param id The unique ID of the sorting method * @param name The method's name. * @param func A pointer to the function. * */ -void gaim_gtk_blist_sort_method_reg(const char *name, gaim_gtk_blist_sort_function func); +void gaim_gtk_blist_sort_method_reg(const char *id, const char *name, gaim_gtk_blist_sort_function func); /** * Unregisters a buddy list sorting method. * - * @param name The method's name + * @param id The method's id */ -void gaim_gtk_blist_sort_method_unreg(const char *name); +void gaim_gtk_blist_sort_method_unreg(const char *id); /** * Sets a buddy list sorting method. * - * @param name The method's name. + * @param id The method's id. */ -void gaim_gtk_blist_sort_method_set(const char *name); +void gaim_gtk_blist_sort_method_set(const char *id); /** * Sets up the programs default sort methods