diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-10-02 15:39:46 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-10-03 09:47:13 +0200 |
commit | a1faa740ca8773d731d168f19569d6a7d230df85 (patch) | |
tree | 0cd4339e4455a72cd489c82f75b7abe01eb713ba | |
parent | 527de4d26ef96e2a049781cdecc4e6e1a05622d3 (diff) |
conn-presence: fix enum cast warning
Thanks clang...
https://bugs.freedesktop.org/show_bug.cgi?id=70038
-rw-r--r-- | src/conn-presence.c | 2 | ||||
-rw-r--r-- | 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 e06062f56..7798b6142 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 761a30799..6756f6923 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); |