Mercurial > pidgin
diff finch/plugins/lastlog.c @ 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 | ea62e934c80b |
| children |
line wrap: on
line diff
--- a/finch/plugins/lastlog.c Fri Aug 26 20:51:39 2011 +0000 +++ b/finch/plugins/lastlog.c Fri Aug 26 21:09:27 2011 +0000 @@ -60,7 +60,7 @@ static PurpleCmdRet lastlog_cb(PurpleConversation *conv, const char *cmd, char **args, char **error, gpointer null) { - FinchConv *ggconv = conv->ui_data; + FinchConv *ggconv = FINCH_CONV(conv); char **strings = g_strsplit(GNT_TEXT_VIEW(ggconv->tv)->string->str, "\n", 0); GntWidget *win, *tv; int i, j;
