diff src/gtkblist.h @ 11796:b9b7a010b043

[gaim-migrate @ 14087] I need to sleep. This isn't finished. Hopefully someone will finish it before I wake up. Moved Preferences > Buddy List to Buddies menu. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 24 Oct 2005 08:06:34 +0000
parents 03c813a42c76
children fdb78734e2ae
line wrap: on
line diff
--- a/src/gtkblist.h	Mon Oct 24 07:46:21 2005 +0000
+++ b/src/gtkblist.h	Mon Oct 24 08:06:34 2005 +0000
@@ -195,7 +195,12 @@
 
 typedef GtkTreeIter (*gaim_gtk_blist_sort_function)(GaimBlistNode *new, GaimBuddyList *blist, GtkTreeIter group, GtkTreeIter *cur);
 
-extern GSList *gaim_gtk_blist_sort_methods;
+/**
+ * Gets the current list of sort methods.
+ *
+ * @return A GSlist of sort methods
+ */
+GList *gaim_gtk_blist_get_sort_methods();
 
 struct gaim_gtk_blist_sort_method {
 	char *id;
@@ -203,6 +208,8 @@
 	gaim_gtk_blist_sort_function func;
 };
 
+typedef struct gaim_gtk_blist_sort_method GaimGtkBlistSortMethod;
+
 /**
  * Registers a buddy list sorting method.
  *
@@ -243,6 +250,11 @@
 void gaim_gtk_blist_update_plugin_actions();
 
 /**
+ * Updates the Sorting menu on the GTK+ buddy list window.
+ */
+void gaim_gtk_blist_update_sort_methods();
+
+/**
  * Determines if showing the join chat dialog is a valid action.
  *
  * @return Returns TRUE if there are accounts online capable of