Mercurial > pidgin
diff finch/gntconv.h @ 31973:49a33bd1baf1
Use the new accessor functions.
FINCH_GET_DATA() and FINCH_CONV() were both used to do the same thing
for a PurpleConversation, so standardize on FINCH_CONV().
author | andrew.victor@mxit.com |
---|---|
date | Fri, 26 Aug 2011 21:09:27 +0000 |
parents | 6bf32c9e15a7 |
children | f5e193735392 |
line wrap: on
line diff
--- a/finch/gntconv.h Fri Aug 26 20:51:39 2011 +0000 +++ b/finch/gntconv.h Fri Aug 26 21:09:27 2011 +0000 @@ -33,7 +33,7 @@ #include "conversation.h" /* Grabs the conv out of a PurpleConverstation */ -#define FINCH_CONV(conv) ((FinchConv *)(conv)->ui_data) +#define FINCH_CONV(conv) ((FinchConv *)purple_conversation_get_ui_data(conv)) /*************************************************************************** * @name GNT Conversations API