aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-10-17 20:48:18 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-10-17 20:48:18 +0800
commit2c66e20086e9f2a7570320a252658098ff7b486a (patch)
treeb6c1a3a0648c0b376afb3489dd6af47905f13da2 /src
parenta087c5a1412bc73f2c8f9f9c323f62beba3a2c47 (diff)
downloadgsoc2013-empathy-2c66e20086e9f2a7570320a252658098ff7b486a.tar
gsoc2013-empathy-2c66e20086e9f2a7570320a252658098ff7b486a.tar.gz
gsoc2013-empathy-2c66e20086e9f2a7570320a252658098ff7b486a.tar.bz2
gsoc2013-empathy-2c66e20086e9f2a7570320a252658098ff7b486a.tar.lz
gsoc2013-empathy-2c66e20086e9f2a7570320a252658098ff7b486a.tar.xz
gsoc2013-empathy-2c66e20086e9f2a7570320a252658098ff7b486a.tar.zst
gsoc2013-empathy-2c66e20086e9f2a7570320a252658098ff7b486a.zip
There is no reason for import_dialog_add_account to fail.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1639 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'src')
-rw-r--r--src/empathy-import-dialog.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c
index f80cd8882..c8aa64616 100644
--- a/src/empathy-import-dialog.c
+++ b/src/empathy-import-dialog.c
@@ -101,7 +101,6 @@ typedef struct
GtkWidget *treeview;
GtkWidget *button_ok;
GtkWidget *button_cancel;
- gboolean not_imported;
GList *accounts;
} EmpathyImportDialog;
@@ -127,7 +126,7 @@ enum
static void import_dialog_add_setting (GHashTable *settings,
gchar *key, gpointer value, EmpathyImportSettingType type);
-static gboolean import_dialog_add_account (gchar *protocol_name,
+static void import_dialog_add_account (gchar *protocol_name,
GHashTable *settings);
static void import_dialog_pidgin_parse_setting (gchar *protocol,
xmlNodePtr setting, GHashTable *settings);
@@ -148,7 +147,7 @@ import_dialog_account_data_free (AccountData *data)
g_hash_table_destroy (data->settings);
}
-static gboolean
+static void
import_dialog_add_account (AccountData *data)
{
McAccount *account;
@@ -199,8 +198,6 @@ import_dialog_add_account (AccountData *data)
g_free (display_name);
g_object_unref (account);
-
- return TRUE;
}
static void
@@ -424,8 +421,7 @@ import_dialog_tree_model_foreach (GtkTreeModel *model,
-1);
if (to_import)
- if (!import_dialog_add_account (data))
- dialog->not_imported = TRUE;
+ import_dialog_add_account (data);
import_dialog_account_data_free (data);
return FALSE;