[Pkg-telepathy-commits] [telepathy-gabble] 03/11: conn-presence: fix enum cast warning

Simon McVittie smcv at debian.org
Thu Mar 20 10:33:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-gabble.

commit a1faa740ca8773d731d168f19569d6a7d230df85
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Oct 2 15:39:46 2013 +0200

    conn-presence: fix enum cast warning
    
    Thanks clang...
    
    https://bugs.freedesktop.org/show_bug.cgi?id=70038
---
 src/conn-presence.c | 2 +-
 src/conn-presence.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conn-presence.c b/src/conn-presence.c
index e06062f..7798b61 100644
--- a/src/conn-presence.c
+++ b/src/conn-presence.c
@@ -1917,7 +1917,7 @@ status_available_cb (GObject *obj, guint status)
     }
 }
 
-GabblePresenceId
+TpConnectionPresenceType
 conn_presence_get_type (GabblePresence *presence)
 {
   return gabble_statuses[presence->status].presence_type;
diff --git a/src/conn-presence.h b/src/conn-presence.h
index 761a307..6756f69 100644
--- a/src/conn-presence.h
+++ b/src/conn-presence.h
@@ -60,7 +60,7 @@ void conn_decloak_iface_init (gpointer g_iface, gpointer iface_data);
 void conn_decloak_emit_requested (GabbleConnection *conn,
     TpHandle contact, const gchar *reason, gboolean decloaked);
 
-GabblePresenceId conn_presence_get_type (GabblePresence *presence);
+TpConnectionPresenceType conn_presence_get_type (GabblePresence *presence);
 
 const TpPresenceStatusSpec *conn_presence_statuses (void);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-gabble.git



More information about the Pkg-telepathy-commits mailing list