diff pidgin/gtkutils.h @ 26832:2c08e3e34e02

merge of '26ac092613aaf9cdf75dc965213469a30135ab56' and 'a18b8f63efe643713d40b3c0b2ef93c6775d79be'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 29 Apr 2009 03:30:01 +0000
parents 89f613b16e2b
children 684690dbda4a 2dcff225172e
line wrap: on
line diff
--- a/pidgin/gtkutils.h	Wed Apr 29 02:12:19 2009 +0000
+++ b/pidgin/gtkutils.h	Wed Apr 29 03:30:01 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.