#include "empathy-new-account-dialog.h"
#include <glib/gi18n-lib.h>
+#include <tp-account-widgets/tpaw-account-widget.h>
-#include "empathy-account-widget.h"
#include "empathy-protocol-chooser.h"
#define DEBUG_FLAG EMPATHY_DEBUG_ACCOUNT
GtkWidget *main_vbox;
GtkWidget *connect_button;
- EmpathyAccountSettings *settings;
+ TpawAccountSettings *settings;
};
static void
protocol_changed_cb (GtkComboBox *chooser,
EmpathyNewAccountDialog *self)
{
- EmpathyAccountSettings *settings;
+ TpawAccountSettings *settings;
TpawAccountWidget *account_widget;
gchar *password = NULL, *account = NULL;
/* Save "account" and "password" parameters */
if (self->priv->settings != NULL)
{
- account = empathy_account_settings_dup_string (
+ account = tpaw_account_settings_dup_string (
self->priv->settings, "account");
- password = empathy_account_settings_dup_string (
+ password = tpaw_account_settings_dup_string (
self->priv->settings, "password");
g_object_unref (self->priv->settings);
}
- account_widget = tpaw_account_widget_new_for_protocol (settings, TRUE);
+ account_widget = tpaw_account_widget_new_for_protocol (settings,
+ NULL, TRUE);
if (self->priv->current_account_widget != NULL)
{
return result;
}
-EmpathyAccountSettings *
+TpawAccountSettings *
empathy_new_account_dialog_get_settings (EmpathyNewAccountDialog *self)
{
return self->priv->settings;