diff -r b8e3b530086e -r b067ceddc36f libpurple/protocols/myspace/myspace.h --- a/libpurple/protocols/myspace/myspace.h Mon Sep 17 03:34:11 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Mon Sep 17 03:47:45 2007 +0000 @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #ifndef _MYSPACE_MYSPACE_H @@ -76,10 +76,6 @@ * you want to actually use the plugin! */ /*#define MSIM_SELF_TEST */ -/* Use the attention API for zaps? */ -/* Can't have until >=2.2.0, since is a new API. */ -#define MSIM_USE_ATTENTION_API - /* Constants */ /* Maximum length of a password that is acceptable. This is the limit @@ -183,22 +179,7 @@ #define MSIM_CONTACT_LIST_IMPORT_ALL_FRIENDS 1 #define MSIM_CONTACT_LIST_IMPORT_TOP_FRIENDS 2 -#ifdef MSIM_USE_ATTENTION_API #define MsimAttentionType PurpleAttentionType -#else -/* Different kinds of attention alerts. Not yet in libpurple, so define - * our own structure here. */ -typedef struct _MsimAttentionType MsimAttentionType; - -/** A type of "attention" message (zap, nudge, buzz, etc. depending on the - * protocol) that can be sent and received. */ -struct _MsimAttentionType { - const gchar *name; /**< Shown before sending. */ - const gchar *incoming_description; /**< Shown when sent. */ - const gchar *outgoing_description; /**< Shown when received. */ - const gchar *icon_name; -}; -#endif /* Functions */ gboolean msim_load(PurplePlugin *plugin);