[Telepathy-commits] [telepathy-gabble/master] rename gabble-register.c to register.c
Dafydd Harries
dafydd.harries at collabora.co.uk
Tue Aug 19 10:53:19 PDT 2008
20080714115837-c9803-b36112555b3f4618ceec8c6facea1d2dd835a993.gz
---
src/Makefile.am | 2 +-
src/gabble-register.c | 355 -------------------------------------------------
src/register.c | 355 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 356 insertions(+), 356 deletions(-)
delete mode 100644 src/gabble-register.c
create mode 100644 src/register.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 95c83c1..233aab3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -63,7 +63,7 @@ libgabble_convenience_la_our_sources = \
media-session.c \
media-stream.h \
media-stream.c \
- gabble-register.c \
+ register.c \
register.h \
roster-channel.h \
gabble-roster-channel.c \
diff --git a/src/gabble-register.c b/src/gabble-register.c
deleted file mode 100644
index d5b8c80..0000000
--- a/src/gabble-register.c
+++ /dev/null
@@ -1,355 +0,0 @@
-/*
- * gabble-register.c - Source for Gabble account registration
- *
- * Copyright (C) 2006 Collabora Ltd.
- * Copyright (C) 2006 Nokia Corporation
- * @author Ole Andre Vadla Ravnaas <ole.andre.ravnaas at collabora.co.uk>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include "register.h"
-
-#define DBUS_API_SUBJECT_TO_CHANGE
-
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus-glib-lowlevel.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-
-#include <telepathy-glib/dbus.h>
-#include <telepathy-glib/errors.h>
-
-#include "connection.h"
-#include "error.h"
-#include "gabble-signals-marshal.h"
-#include "namespaces.h"
-#include "util.h"
-
-/* signal enum */
-enum
-{
- FINISHED,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = { 0, };
-
-/* properties */
-enum
-{
- PROP_CONNECTION = 1,
- LAST_PROPERTY
-};
-
-G_DEFINE_TYPE(GabbleRegister, gabble_register, G_TYPE_OBJECT);
-
-/* private structure */
-typedef struct _GabbleRegisterPrivate GabbleRegisterPrivate;
-struct _GabbleRegisterPrivate
-{
- GabbleConnection *conn;
-
- gboolean dispose_has_run;
-};
-
-#define GABBLE_REGISTER_GET_PRIVATE(o) \
- (G_TYPE_INSTANCE_GET_PRIVATE ((o), GABBLE_TYPE_REGISTER,\
- GabbleRegisterPrivate))
-
-static void
-gabble_register_init (GabbleRegister *obj)
-{
-}
-
-static void gabble_register_set_property (GObject *object, guint property_id,
- const GValue *value, GParamSpec *pspec);
-static void gabble_register_get_property (GObject *object, guint property_id,
- GValue *value, GParamSpec *pspec);
-static void gabble_register_dispose (GObject *object);
-static void gabble_register_finalize (GObject *object);
-
-static void
-gabble_register_class_init (GabbleRegisterClass *gabble_register_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_register_class);
- GParamSpec *param_spec;
-
- g_type_class_add_private (gabble_register_class,
- sizeof (GabbleRegisterPrivate));
-
- object_class->get_property = gabble_register_get_property;
- object_class->set_property = gabble_register_set_property;
-
- object_class->dispose = gabble_register_dispose;
- object_class->finalize = gabble_register_finalize;
-
- param_spec = g_param_spec_object ("connection", "GabbleConnection object",
- "Gabble connection object that owns this "
- "GabbleRegister object.",
- GABBLE_TYPE_CONNECTION,
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_READWRITE |
- G_PARAM_STATIC_NICK |
- G_PARAM_STATIC_BLURB);
- g_object_class_install_property (object_class, PROP_CONNECTION, param_spec);
-
- signals[FINISHED] =
- g_signal_new ("finished",
- G_OBJECT_CLASS_TYPE (gabble_register_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_marshal_VOID__BOOLEAN_INT_STRING,
- G_TYPE_NONE, 3, G_TYPE_BOOLEAN, G_TYPE_INT, G_TYPE_STRING);
-}
-
-static void
-gabble_register_get_property (GObject *object,
- guint property_id,
- GValue *value,
- GParamSpec *pspec)
-{
- GabbleRegister *chan = GABBLE_REGISTER (object);
- GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (chan);
-
- switch (property_id) {
- case PROP_CONNECTION:
- g_value_set_object (value, priv->conn);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
- break;
- }
-}
-
-static void
-gabble_register_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- GabbleRegister *chan = GABBLE_REGISTER (object);
- GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (chan);
-
- switch (property_id) {
- case PROP_CONNECTION:
- priv->conn = g_value_get_object (value);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
- break;
- }
-}
-
-void
-gabble_register_dispose (GObject *object)
-{
- GabbleRegister *self = GABBLE_REGISTER (object);
- GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- g_debug ("%s: dispose called", G_STRFUNC);
-
- if (G_OBJECT_CLASS (gabble_register_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_register_parent_class)->dispose (object);
-}
-
-void
-gabble_register_finalize (GObject *object)
-{
- g_debug ("%s called with %p", G_STRFUNC, object);
-
- G_OBJECT_CLASS (gabble_register_parent_class)->finalize (object);
-}
-
-/**
- * gabble_register_new:
- *
- * Creates an object to use for account registration.
- *
- * @conn: The #GabbleConnection to register an account on
- */
-GabbleRegister *
-gabble_register_new (GabbleConnection *conn)
-{
- g_return_val_if_fail (GABBLE_IS_CONNECTION (conn), NULL);
- return GABBLE_REGISTER (g_object_new (GABBLE_TYPE_REGISTER,
- "connection", conn, NULL));
-}
-
-static LmHandlerResult
-set_reply_cb (GabbleConnection *conn,
- LmMessage *sent_msg,
- LmMessage *reply_msg,
- GObject *object,
- gpointer user_data)
-{
- if (lm_message_get_sub_type (reply_msg) != LM_MESSAGE_SUB_TYPE_RESULT)
- {
- LmMessageNode *node;
- gint code = TP_ERROR_NOT_AVAILABLE;
- GString *msg;
-
- msg = g_string_sized_new (30);
- g_string_append (msg, "Request failed");
-
- node = lm_message_node_get_child (reply_msg->node, "error");
- if (node)
- {
- GabbleXmppError error;
-
- error = gabble_xmpp_error_from_node (node);
- if (error == XMPP_ERROR_CONFLICT)
- {
- code = TP_ERROR_INVALID_ARGUMENT;
- }
-
- g_string_append_printf (msg, ": %s",
- gabble_xmpp_error_string (error));
- }
-
- g_signal_emit (object, signals[FINISHED], 0, FALSE, code, msg->str);
- g_string_free (msg, TRUE);
- }
- else
- {
- g_signal_emit (object, signals[FINISHED], 0, TRUE, -1, NULL);
- }
-
- return LM_HANDLER_RESULT_REMOVE_MESSAGE;
-}
-
-static LmHandlerResult
-get_reply_cb (GabbleConnection *conn,
- LmMessage *sent_msg,
- LmMessage *reply_msg,
- GObject *object,
- gpointer user_data)
-{
- GabbleRegister *reg = GABBLE_REGISTER (object);
- GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (reg);
- GError *error = NULL;
- gint err_code = -1;
- const gchar *err_msg = NULL;
- LmMessage *msg = NULL;
- LmMessageNode *query_node;
- gchar *username, *password;
-
- if (lm_message_get_sub_type (reply_msg) != LM_MESSAGE_SUB_TYPE_RESULT)
- {
- err_code = TP_ERROR_NOT_AVAILABLE;
- err_msg = "Server doesn't support " NS_REGISTER;
-
- goto OUT;
- }
-
- /* sanity check the reply to some degree ... */
- query_node = lm_message_node_get_child_with_namespace (reply_msg->node,
- "query", NS_REGISTER);
-
- if (query_node == NULL)
- goto ERROR_MALFORMED_REPLY;
-
- if (!lm_message_node_get_child (query_node, "username"))
- goto ERROR_MALFORMED_REPLY;
-
- if (!lm_message_node_get_child (query_node, "password"))
- goto ERROR_MALFORMED_REPLY;
-
- /* craft a reply */
- msg = lm_message_new_with_sub_type (NULL, LM_MESSAGE_TYPE_IQ,
- LM_MESSAGE_SUB_TYPE_SET);
-
- query_node = lm_message_node_add_child (msg->node, "query", NULL);
- lm_message_node_set_attribute (query_node, "xmlns", NS_REGISTER);
-
- g_object_get (priv->conn,
- "username", &username,
- "password", &password,
- NULL);
-
- lm_message_node_add_child (query_node, "username", username);
- lm_message_node_add_child (query_node, "password", password);
-
- g_free (username);
- g_free (password);
-
- if (!_gabble_connection_send_with_reply (priv->conn, msg, set_reply_cb,
- G_OBJECT (reg), NULL, &error))
- {
- err_code = error->code;
- err_msg = error->message;
- }
-
- goto OUT;
-
-ERROR_MALFORMED_REPLY:
- err_code = TP_ERROR_NOT_AVAILABLE;
- err_msg = "Malformed reply";
-
-OUT:
- if (err_code != -1)
- {
- g_signal_emit (reg, signals[FINISHED], 0, FALSE, err_code, err_msg);
- }
-
- if (msg)
- lm_message_unref (msg);
-
- if (error)
- g_error_free (error);
-
- return LM_HANDLER_RESULT_REMOVE_MESSAGE;
-}
-
-/**
- * gabble_register_start:
- *
- * Start account registration.
- *
- * @reg: The #GabbleRegister object performing the registration
- */
-void gabble_register_start (GabbleRegister *reg)
-{
- GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (reg);
- LmMessage *msg;
- LmMessageNode *node;
- GError *error = NULL;
- GabbleConnectionMsgReplyFunc handler;
-
- msg = lm_message_new_with_sub_type (NULL, LM_MESSAGE_TYPE_IQ,
- LM_MESSAGE_SUB_TYPE_GET);
- node = lm_message_node_add_child (msg->node, "query", NULL);
-
- lm_message_node_set_attribute (node, "xmlns", NS_REGISTER);
- handler = get_reply_cb;
-
- if (!_gabble_connection_send_with_reply (priv->conn, msg, handler,
- G_OBJECT (reg), NULL, &error))
- {
- g_signal_emit (reg, signals[FINISHED], 0, FALSE, error->code,
- error->message);
- g_error_free (error);
- }
-
- lm_message_unref (msg);
-}
diff --git a/src/register.c b/src/register.c
new file mode 100644
index 0000000..d5b8c80
--- /dev/null
+++ b/src/register.c
@@ -0,0 +1,355 @@
+/*
+ * gabble-register.c - Source for Gabble account registration
+ *
+ * Copyright (C) 2006 Collabora Ltd.
+ * Copyright (C) 2006 Nokia Corporation
+ * @author Ole Andre Vadla Ravnaas <ole.andre.ravnaas at collabora.co.uk>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "register.h"
+
+#define DBUS_API_SUBJECT_TO_CHANGE
+
+#include <dbus/dbus-glib.h>
+#include <dbus/dbus-glib-lowlevel.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
+
+#include <telepathy-glib/dbus.h>
+#include <telepathy-glib/errors.h>
+
+#include "connection.h"
+#include "error.h"
+#include "gabble-signals-marshal.h"
+#include "namespaces.h"
+#include "util.h"
+
+/* signal enum */
+enum
+{
+ FINISHED,
+ LAST_SIGNAL
+};
+
+static guint signals[LAST_SIGNAL] = { 0, };
+
+/* properties */
+enum
+{
+ PROP_CONNECTION = 1,
+ LAST_PROPERTY
+};
+
+G_DEFINE_TYPE(GabbleRegister, gabble_register, G_TYPE_OBJECT);
+
+/* private structure */
+typedef struct _GabbleRegisterPrivate GabbleRegisterPrivate;
+struct _GabbleRegisterPrivate
+{
+ GabbleConnection *conn;
+
+ gboolean dispose_has_run;
+};
+
+#define GABBLE_REGISTER_GET_PRIVATE(o) \
+ (G_TYPE_INSTANCE_GET_PRIVATE ((o), GABBLE_TYPE_REGISTER,\
+ GabbleRegisterPrivate))
+
+static void
+gabble_register_init (GabbleRegister *obj)
+{
+}
+
+static void gabble_register_set_property (GObject *object, guint property_id,
+ const GValue *value, GParamSpec *pspec);
+static void gabble_register_get_property (GObject *object, guint property_id,
+ GValue *value, GParamSpec *pspec);
+static void gabble_register_dispose (GObject *object);
+static void gabble_register_finalize (GObject *object);
+
+static void
+gabble_register_class_init (GabbleRegisterClass *gabble_register_class)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (gabble_register_class);
+ GParamSpec *param_spec;
+
+ g_type_class_add_private (gabble_register_class,
+ sizeof (GabbleRegisterPrivate));
+
+ object_class->get_property = gabble_register_get_property;
+ object_class->set_property = gabble_register_set_property;
+
+ object_class->dispose = gabble_register_dispose;
+ object_class->finalize = gabble_register_finalize;
+
+ param_spec = g_param_spec_object ("connection", "GabbleConnection object",
+ "Gabble connection object that owns this "
+ "GabbleRegister object.",
+ GABBLE_TYPE_CONNECTION,
+ G_PARAM_CONSTRUCT_ONLY |
+ G_PARAM_READWRITE |
+ G_PARAM_STATIC_NICK |
+ G_PARAM_STATIC_BLURB);
+ g_object_class_install_property (object_class, PROP_CONNECTION, param_spec);
+
+ signals[FINISHED] =
+ g_signal_new ("finished",
+ G_OBJECT_CLASS_TYPE (gabble_register_class),
+ G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
+ 0,
+ NULL, NULL,
+ gabble_marshal_VOID__BOOLEAN_INT_STRING,
+ G_TYPE_NONE, 3, G_TYPE_BOOLEAN, G_TYPE_INT, G_TYPE_STRING);
+}
+
+static void
+gabble_register_get_property (GObject *object,
+ guint property_id,
+ GValue *value,
+ GParamSpec *pspec)
+{
+ GabbleRegister *chan = GABBLE_REGISTER (object);
+ GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (chan);
+
+ switch (property_id) {
+ case PROP_CONNECTION:
+ g_value_set_object (value, priv->conn);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+ break;
+ }
+}
+
+static void
+gabble_register_set_property (GObject *object,
+ guint property_id,
+ const GValue *value,
+ GParamSpec *pspec)
+{
+ GabbleRegister *chan = GABBLE_REGISTER (object);
+ GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (chan);
+
+ switch (property_id) {
+ case PROP_CONNECTION:
+ priv->conn = g_value_get_object (value);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+ break;
+ }
+}
+
+void
+gabble_register_dispose (GObject *object)
+{
+ GabbleRegister *self = GABBLE_REGISTER (object);
+ GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (self);
+
+ if (priv->dispose_has_run)
+ return;
+
+ priv->dispose_has_run = TRUE;
+
+ g_debug ("%s: dispose called", G_STRFUNC);
+
+ if (G_OBJECT_CLASS (gabble_register_parent_class)->dispose)
+ G_OBJECT_CLASS (gabble_register_parent_class)->dispose (object);
+}
+
+void
+gabble_register_finalize (GObject *object)
+{
+ g_debug ("%s called with %p", G_STRFUNC, object);
+
+ G_OBJECT_CLASS (gabble_register_parent_class)->finalize (object);
+}
+
+/**
+ * gabble_register_new:
+ *
+ * Creates an object to use for account registration.
+ *
+ * @conn: The #GabbleConnection to register an account on
+ */
+GabbleRegister *
+gabble_register_new (GabbleConnection *conn)
+{
+ g_return_val_if_fail (GABBLE_IS_CONNECTION (conn), NULL);
+ return GABBLE_REGISTER (g_object_new (GABBLE_TYPE_REGISTER,
+ "connection", conn, NULL));
+}
+
+static LmHandlerResult
+set_reply_cb (GabbleConnection *conn,
+ LmMessage *sent_msg,
+ LmMessage *reply_msg,
+ GObject *object,
+ gpointer user_data)
+{
+ if (lm_message_get_sub_type (reply_msg) != LM_MESSAGE_SUB_TYPE_RESULT)
+ {
+ LmMessageNode *node;
+ gint code = TP_ERROR_NOT_AVAILABLE;
+ GString *msg;
+
+ msg = g_string_sized_new (30);
+ g_string_append (msg, "Request failed");
+
+ node = lm_message_node_get_child (reply_msg->node, "error");
+ if (node)
+ {
+ GabbleXmppError error;
+
+ error = gabble_xmpp_error_from_node (node);
+ if (error == XMPP_ERROR_CONFLICT)
+ {
+ code = TP_ERROR_INVALID_ARGUMENT;
+ }
+
+ g_string_append_printf (msg, ": %s",
+ gabble_xmpp_error_string (error));
+ }
+
+ g_signal_emit (object, signals[FINISHED], 0, FALSE, code, msg->str);
+ g_string_free (msg, TRUE);
+ }
+ else
+ {
+ g_signal_emit (object, signals[FINISHED], 0, TRUE, -1, NULL);
+ }
+
+ return LM_HANDLER_RESULT_REMOVE_MESSAGE;
+}
+
+static LmHandlerResult
+get_reply_cb (GabbleConnection *conn,
+ LmMessage *sent_msg,
+ LmMessage *reply_msg,
+ GObject *object,
+ gpointer user_data)
+{
+ GabbleRegister *reg = GABBLE_REGISTER (object);
+ GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (reg);
+ GError *error = NULL;
+ gint err_code = -1;
+ const gchar *err_msg = NULL;
+ LmMessage *msg = NULL;
+ LmMessageNode *query_node;
+ gchar *username, *password;
+
+ if (lm_message_get_sub_type (reply_msg) != LM_MESSAGE_SUB_TYPE_RESULT)
+ {
+ err_code = TP_ERROR_NOT_AVAILABLE;
+ err_msg = "Server doesn't support " NS_REGISTER;
+
+ goto OUT;
+ }
+
+ /* sanity check the reply to some degree ... */
+ query_node = lm_message_node_get_child_with_namespace (reply_msg->node,
+ "query", NS_REGISTER);
+
+ if (query_node == NULL)
+ goto ERROR_MALFORMED_REPLY;
+
+ if (!lm_message_node_get_child (query_node, "username"))
+ goto ERROR_MALFORMED_REPLY;
+
+ if (!lm_message_node_get_child (query_node, "password"))
+ goto ERROR_MALFORMED_REPLY;
+
+ /* craft a reply */
+ msg = lm_message_new_with_sub_type (NULL, LM_MESSAGE_TYPE_IQ,
+ LM_MESSAGE_SUB_TYPE_SET);
+
+ query_node = lm_message_node_add_child (msg->node, "query", NULL);
+ lm_message_node_set_attribute (query_node, "xmlns", NS_REGISTER);
+
+ g_object_get (priv->conn,
+ "username", &username,
+ "password", &password,
+ NULL);
+
+ lm_message_node_add_child (query_node, "username", username);
+ lm_message_node_add_child (query_node, "password", password);
+
+ g_free (username);
+ g_free (password);
+
+ if (!_gabble_connection_send_with_reply (priv->conn, msg, set_reply_cb,
+ G_OBJECT (reg), NULL, &error))
+ {
+ err_code = error->code;
+ err_msg = error->message;
+ }
+
+ goto OUT;
+
+ERROR_MALFORMED_REPLY:
+ err_code = TP_ERROR_NOT_AVAILABLE;
+ err_msg = "Malformed reply";
+
+OUT:
+ if (err_code != -1)
+ {
+ g_signal_emit (reg, signals[FINISHED], 0, FALSE, err_code, err_msg);
+ }
+
+ if (msg)
+ lm_message_unref (msg);
+
+ if (error)
+ g_error_free (error);
+
+ return LM_HANDLER_RESULT_REMOVE_MESSAGE;
+}
+
+/**
+ * gabble_register_start:
+ *
+ * Start account registration.
+ *
+ * @reg: The #GabbleRegister object performing the registration
+ */
+void gabble_register_start (GabbleRegister *reg)
+{
+ GabbleRegisterPrivate *priv = GABBLE_REGISTER_GET_PRIVATE (reg);
+ LmMessage *msg;
+ LmMessageNode *node;
+ GError *error = NULL;
+ GabbleConnectionMsgReplyFunc handler;
+
+ msg = lm_message_new_with_sub_type (NULL, LM_MESSAGE_TYPE_IQ,
+ LM_MESSAGE_SUB_TYPE_GET);
+ node = lm_message_node_add_child (msg->node, "query", NULL);
+
+ lm_message_node_set_attribute (node, "xmlns", NS_REGISTER);
+ handler = get_reply_cb;
+
+ if (!_gabble_connection_send_with_reply (priv->conn, msg, handler,
+ G_OBJECT (reg), NULL, &error))
+ {
+ g_signal_emit (reg, signals[FINISHED], 0, FALSE, error->code,
+ error->message);
+ g_error_free (error);
+ }
+
+ lm_message_unref (msg);
+}
--
1.5.6.3
More information about the Telepathy-commits
mailing list