- gossip_debug (DEBUG_DOMAIN, "Requesting handle for room '%s'",
- room_names[0]);
-
- /* Gives the ref of account/tp_conn to the callback */
- tp_conn_request_handles_async (DBUS_G_PROXY (tp_conn),
- TP_HANDLE_TYPE_ROOM,
- room_names,
- (tp_conn_request_handles_reply)
- new_chatroom_dialog_request_handles_cb,
- account);
- g_free (room_name);
- g_object_unref (mc);
-}
-
-static void
-new_chatroom_dialog_request_handles_cb (DBusGProxy *proxy,
- GArray *handles,
- GError *error,
- McAccount *account)
-{
- MissionControl *mc;
- guint handle;
-
- if (error) {
- gossip_debug (DEBUG_DOMAIN,
- "Error requesting room handle: %s",
- error ? error->message : "No error given");
- goto OUT;
- }