aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-dialogs.c
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2009-10-24 22:49:50 +0800
committerJonny Lamb <jonnylamb@gnome.org>2009-10-24 22:49:50 +0800
commit4cd4787acbbd265f95b9e777ae9e3d2050f8c968 (patch)
tree58133ef82cca3a670ce28896da0c8410443649bd /libempathy-gtk/empathy-contact-dialogs.c
parent1f321d962150e7071a2b2757eb011e87766e65ad (diff)
downloadgsoc2013-empathy-4cd4787acbbd265f95b9e777ae9e3d2050f8c968.tar
gsoc2013-empathy-4cd4787acbbd265f95b9e777ae9e3d2050f8c968.tar.gz
gsoc2013-empathy-4cd4787acbbd265f95b9e777ae9e3d2050f8c968.tar.bz2
gsoc2013-empathy-4cd4787acbbd265f95b9e777ae9e3d2050f8c968.tar.lz
gsoc2013-empathy-4cd4787acbbd265f95b9e777ae9e3d2050f8c968.tar.xz
gsoc2013-empathy-4cd4787acbbd265f95b9e777ae9e3d2050f8c968.tar.zst
gsoc2013-empathy-4cd4787acbbd265f95b9e777ae9e3d2050f8c968.zip
contact-dialogs: port to new tp-glib account API
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy-gtk/empathy-contact-dialogs.c')
-rw-r--r--libempathy-gtk/empathy-contact-dialogs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-contact-dialogs.c b/libempathy-gtk/empathy-contact-dialogs.c
index 6c15dd876..b7108d8f3 100644
--- a/libempathy-gtk/empathy-contact-dialogs.c
+++ b/libempathy-gtk/empathy-contact-dialogs.c
@@ -27,8 +27,9 @@
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
+#include <telepathy-glib/account-manager.h>
+
#include <libempathy/empathy-contact-manager.h>
-#include <libempathy/empathy-account-manager.h>
#include <libempathy/empathy-contact-list.h>
#include <libempathy/empathy-utils.h>
@@ -327,14 +328,14 @@ empathy_contact_personal_dialog_show (GtkWindow *parent)
*/
static gboolean
-can_add_contact_to_account (EmpathyAccount *account,
+can_add_contact_to_account (TpAccount *account,
gpointer user_data)
{
EmpathyContactManager *contact_manager;
TpConnection *connection;
gboolean result;
- connection = empathy_account_get_connection (account);
+ connection = tp_account_get_connection (account);
if (connection == NULL)
return FALSE;