From db351c38e4822acf29086dc706a6129219b453cb Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 27 May 2014 17:42:49 +0200 Subject: fix signature of TpProxy::invalidated callbacks --- telepathy-glib/account.c | 5 +++-- telepathy-glib/channel.c | 2 +- telepathy-glib/connection.c | 6 +++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c index c245b6bc9..cec883c76 100644 --- a/telepathy-glib/account.c +++ b/telepathy-glib/account.c @@ -395,8 +395,9 @@ tp_account_init (TpAccount *self) static void _tp_account_invalidated_cb (TpAccount *self, guint domain, - guint code, - gchar *message) + gint code, + gchar *message, + gpointer user_data) { TpAccountPrivate *priv = self->priv; diff --git a/telepathy-glib/channel.c b/telepathy-glib/channel.c index a35b4372e..d7df915aa 100644 --- a/telepathy-glib/channel.c +++ b/telepathy-glib/channel.c @@ -880,7 +880,7 @@ tp_channel_closed_cb (TpChannel *self, static void tp_channel_connection_invalidated_cb (TpConnection *conn, guint domain, - guint code, + gint code, gchar *message, TpChannel *self) { diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c index f88611f50..15a3be6dc 100644 --- a/telepathy-glib/connection.c +++ b/telepathy-glib/connection.c @@ -1027,7 +1027,11 @@ tp_connection_status_changed_cb (TpConnection *self, } static void -tp_connection_invalidated (TpConnection *self) +tp_connection_invalidated (TpConnection *self, + guint domain, + gint code, + gchar *message, + gpointer user_data) { if (self->priv->introspection_call != NULL) { -- cgit v1.2.1