#include "empathy-import-widget.h"
#include <glib/gi18n-lib.h>
+#include <tp-account-widgets/tpaw-builder.h>
+#include <tp-account-widgets/tpaw-utils.h>
+#include <telepathy-glib/telepathy-glib-dbus.h>
#include "empathy-ui-utils.h"
#include "empathy-utils.h"
if (tp_account_is_enabled (account))
{
account_manager = tp_account_manager_dup ();
- empathy_connect_new_account (account, account_manager);
+ tpaw_connect_new_account (account, account_manager);
g_object_unref (account_manager);
}
gchar *filename;
filename = empathy_file_lookup ("empathy-import-dialog.ui", "src");
- gui = empathy_builder_get_file (filename,
+ gui = tpaw_builder_get_file (filename,
"widget_vbox", &priv->vbox,
"treeview", &priv->treeview,
"scrolledwindow", &priv->scrolledwindow,
NULL);
g_free (filename);
- empathy_builder_unref_and_keep_widget (gui, priv->vbox);
+ tpaw_builder_unref_and_keep_widget (gui, priv->vbox);
g_signal_connect (priv->vbox, "destroy",
G_CALLBACK (import_widget_destroy_cb), self);