/pidgin/main: b0ff48096c0d: Fix a type-cast

Ankit Vani a at nevitus.org
Sat Apr 19 10:36:10 EDT 2014


Changeset: b0ff48096c0dbdc79c9baf6c9a85fc737c78588c
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-04-19 20:04 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/b0ff48096c0d

Description:

Fix a type-cast

diffstat:

 pidgin/plugins/cap/cap.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/pidgin/plugins/cap/cap.c b/pidgin/plugins/cap/cap.c
--- a/pidgin/plugins/cap/cap.c
+++ b/pidgin/plugins/cap/cap.c
@@ -433,7 +433,7 @@ static void buddy_signed_off(PurpleBuddy
 
 /* drawing-tooltip */
 static void drawing_tooltip(PurpleBlistNode *node, GString *text, gboolean full) {
-	if (PURPLE_IS_BUDDY_CLASS(node)) {
+	if (PURPLE_IS_BUDDY(node)) {
 		PurpleBuddy *buddy = PURPLE_BUDDY(node);
 		CapStatistics *stats = get_stats_for(buddy);
 		/* get the probability that this buddy will respond and add to the tooltip */



More information about the Commits mailing list