#include "widgets/modest-default-account-settings-dialog.h"
#include <tny-account.h>
#include <tny-status.h>
+#include <tny-simple-list.h>
#include <gconf/gconf-client.h>
#include <string.h> /* For strlen(). */
if (!account_title)
return FALSE; /* Should be prevented already anyway. */
- if (strcmp(account_title, priv->original_account_title) != 0) {
+ if (g_strcmp0 (account_title, priv->original_account_title) != 0) {
/* Check the changed title: */
const gboolean name_in_use = modest_account_mgr_account_with_display_name_exists (priv->account_manager,
account_title);
}
ModestAccountSettingsDialog*
-modest_account_settings_dialog_new (void)
+modest_default_account_settings_dialog_new (void)
{
return g_object_new (MODEST_TYPE_ACCOUNT_SETTINGS_DIALOG, NULL);
}
}
static void
-modest_account_settings_dialog_class_init (ModestAccountSettingsDialogClass *klass)
+modest_default_account_settings_dialog_class_init (ModestDefaultAccountSettingsDialogClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
g_type_class_add_private (klass, sizeof (ModestDefaultAccountSettingsDialogPrivate));