diff finch/plugins/gntgf.c @ 32432: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 a8cc50c2279f
children 1d09b9077181
line wrap: on
line diff
--- a/finch/plugins/gntgf.c	Fri Aug 26 20:51:39 2011 +0000
+++ b/finch/plugins/gntgf.c	Fri Aug 26 21:09:27 2011 +0000
@@ -168,7 +168,7 @@
 		beep();
 
 	if (conv != NULL) {
-		FinchConv *fc = conv->ui_data;
+		FinchConv *fc = FINCH_CONV(conv);
 		if (gnt_widget_has_focus(fc->window))
 			return;
 	}