diff libpurple/protocols/myspace/myspace.h @ 19427:a4b0ba3c656d

Use new attention API from http://msimprpl.darkthoughts.net/attention3.diff, added in Pidgin 2.2.0.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 25 Aug 2007 22:35:44 +0000
parents ff23b2470850
children 210f792efd7c
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h	Sat Aug 25 22:33:40 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.h	Sat Aug 25 22:35:44 2007 +0000
@@ -69,7 +69,7 @@
 
 /* Use the attention API for zaps? */
 /* Can't have until >=2.2.0, since is a new API. */
-/*#define MSIM_USE_ATTENTION_API 	 */
+#define MSIM_USE_ATTENTION_API
 
 /* Constants */
 
@@ -258,7 +258,7 @@
 GList *msim_status_types(PurpleAccount *acct);
 
 GList *msim_attention_types(PurpleAccount *acct);
-gboolean msim_send_attention(PurpleConnection *gc, gchar *username, guint code);
+gboolean msim_send_attention(PurpleConnection *gc, const gchar *username, guint code);
 
 GList *msim_blist_node_menu(PurpleBlistNode *node);