summaryrefslogtreecommitdiff
path: root/src/muc-factory.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-01-27 18:08:32 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2012-01-27 22:15:59 +0000
commit89f7b1a1daafe6b9159c5cb42fb0c7fb7acf6871 (patch)
treea87f5d5d40ff8c4ca820a32ad5ad733c4d642c5a /src/muc-factory.c
parent6e3d12a641453d1a00b5271b3094edb7a6845a6c (diff)
downloadtelepathy-gabble-89f7b1a1daafe6b9159c5cb42fb0c7fb7acf6871.tar.gz
Delete LmMessage{,Type,SubType} typedefs
Diffstat (limited to 'src/muc-factory.c')
-rw-r--r--src/muc-factory.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/muc-factory.c b/src/muc-factory.c
index f5c324968..4469e715f 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -620,7 +620,7 @@ out:
static gboolean
process_muc_invite (GabbleMucFactory *fac,
- LmMessage *message,
+ WockyStanza *message,
const gchar *from,
TpChannelTextSendError send_error)
{
@@ -693,7 +693,7 @@ process_muc_invite (GabbleMucFactory *fac,
static gboolean
process_obsolete_invite (GabbleMucFactory *fac,
- LmMessage *message,
+ WockyStanza *message,
const gchar *from,
const gchar *body,
TpChannelTextSendError send_error)
@@ -782,7 +782,7 @@ process_obsolete_invite (GabbleMucFactory *fac,
static LmHandlerResult
muc_factory_message_cb (LmMessageHandler *handler,
LmConnection *connection,
- LmMessage *message,
+ WockyStanza *message,
gpointer user_data)
{
GabbleMucFactory *fac = GABBLE_MUC_FACTORY (user_data);
@@ -920,7 +920,7 @@ gabble_muc_factory_close_all (GabbleMucFactory *self)
DEBUG ("removing callbacks");
lm_connection_unregister_message_handler (priv->conn->lmconn,
- priv->message_cb, LM_MESSAGE_TYPE_MESSAGE);
+ priv->message_cb, WOCKY_STANZA_TYPE_MESSAGE);
}
tp_clear_pointer (&priv->message_cb, lm_message_handler_unref);
@@ -944,7 +944,7 @@ connection_status_changed_cb (GabbleConnection *conn,
priv->message_cb = lm_message_handler_new (muc_factory_message_cb,
self, NULL);
lm_connection_register_message_handler (priv->conn->lmconn,
- priv->message_cb, LM_MESSAGE_TYPE_MESSAGE,
+ priv->message_cb, WOCKY_STANZA_TYPE_MESSAGE,
LM_HANDLER_PRIORITY_NORMAL);
break;
@@ -1059,7 +1059,7 @@ gabble_muc_factory_handle_si_stream_request (GabbleMucFactory *self,
GabbleBytestreamIface *bytestream,
TpHandle room_handle,
const gchar *stream_id,
- LmMessage *msg)
+ WockyStanza *msg)
{
GabbleMucFactoryPrivate *priv = self->priv;
TpHandleRepoIface *room_repo = tp_base_connection_get_handles (