comparison 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
comparison
equal deleted inserted replaced
31972:c0a423e7fea4 31973:49a33bd1baf1
31 #include <gntmenuitem.h> 31 #include <gntmenuitem.h>
32 32
33 #include "conversation.h" 33 #include "conversation.h"
34 34
35 /* Grabs the conv out of a PurpleConverstation */ 35 /* Grabs the conv out of a PurpleConverstation */
36 #define FINCH_CONV(conv) ((FinchConv *)(conv)->ui_data) 36 #define FINCH_CONV(conv) ((FinchConv *)purple_conversation_get_ui_data(conv))
37 37
38 /*************************************************************************** 38 /***************************************************************************
39 * @name GNT Conversations API 39 * @name GNT Conversations API
40 ***************************************************************************/ 40 ***************************************************************************/
41 /*@{*/ 41 /*@{*/