*/
#include "config.h"
-
-#include <glib/gi18n.h>
-#include <folks/folks-telepathy.h>
-
#include "empathy-invite-participant-dialog.h"
-#include <libempathy/empathy-utils.h>
+#include <glib/gi18n.h>
+#include <telepathy-glib/telepathy-glib-dbus.h>
-#include <libempathy-gtk/empathy-contact-chooser.h>
-#include <libempathy-gtk/empathy-individual-view.h>
-#include <libempathy-gtk/empathy-ui-utils.h>
+#include "empathy-contact-chooser.h"
+#include "empathy-utils.h"
G_DEFINE_TYPE (EmpathyInviteParticipantDialog,
empathy_invite_participant_dialog, GTK_TYPE_DIALOG);
{
TpConnection *chat_conn;
- chat_conn = tp_channel_borrow_connection (TP_CHANNEL (self->priv->tp_chat));
+ chat_conn = tp_channel_get_connection (TP_CHANNEL (self->priv->tp_chat));
if (chat_conn == NULL)
return NULL;
{
TpConnection *conn;
- conn = tp_channel_borrow_connection (TP_CHANNEL (self->priv->tp_chat));
+ conn = tp_channel_get_connection (TP_CHANNEL (self->priv->tp_chat));
return tp_proxy_has_interface_by_id (conn,
TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_LIST);