From 398b61ef1dea1391d8aae8b536b23a9813dff734 Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Sun, 3 Mar 2013 17:15:13 +0200 Subject: [PATCH] purple: make it compile against 3.0.X API Add cast to the callbacks in purple_account_request_authorization(). --- src/purple/purple-buddy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/purple/purple-buddy.c b/src/purple/purple-buddy.c index 8b71726b..a5172bf3 100644 --- a/src/purple/purple-buddy.c +++ b/src/purple/purple-buddy.c @@ -3,7 +3,7 @@ * * pidgin-sipe * - * Copyright (C) 2010-12 SIPE Project + * Copyright (C) 2010-2013 SIPE Project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -240,8 +240,8 @@ void sipe_backend_buddy_request_authorization(struct sipe_core_public *sipe_publ alias, NULL, /* message */ on_list, - auth_cb, - deny_cb, + (PurpleAccountRequestAuthorizationCb) auth_cb, + (PurpleAccountRequestAuthorizationCb) deny_cb, data); } -- 2.11.4.GIT