diff pidgin/gtkutils.h @ 26811:89f613b16e2b

New API to get the stock-id for a presence.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 29 Apr 2009 03:19:43 +0000
parents 0011cd06990a
children 684690dbda4a 2dcff225172e
line wrap: on
line diff
--- a/pidgin/gtkutils.h	Wed Apr 29 02:27:55 2009 +0000
+++ b/pidgin/gtkutils.h	Wed Apr 29 03:19:43 2009 +0000
@@ -581,6 +581,17 @@
 const char *pidgin_stock_id_from_status_primitive(PurpleStatusPrimitive prim);
 
 /**
+ * Returns an appropriate stock-id for a PurplePresence.
+ *
+ * @param presence   The presence.
+ *
+ * @return The stock-id
+ *
+ * @since 2.6.0
+ */
+const char *pidgin_stock_id_from_presence(PurplePresence *presence);
+
+/**
  * Append a PurpleMenuAction to a menu.
  *
  * @param menu    The menu to append to.