summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-05-27 17:42:49 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-05-27 17:57:26 +0200
commitdb351c38e4822acf29086dc706a6129219b453cb (patch)
treed8611d7532306ce3b306e109642007b8e0d8af00
parent0ed8f442f49136d73045c29147f1e55b93dc80f1 (diff)
downloadtelepathy-glib-db351c38e4822acf29086dc706a6129219b453cb.tar.gz
fix signature of TpProxy::invalidated callbacks
-rw-r--r--telepathy-glib/account.c5
-rw-r--r--telepathy-glib/channel.c2
-rw-r--r--telepathy-glib/connection.c6
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)
{