diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-10-17 20:48:18 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-10-17 20:48:18 +0800 |
commit | dfa56d59d4ab04bb0796a0a599e2f8fc6455dde3 (patch) | |
tree | b6c1a3a0648c0b376afb3489dd6af47905f13da2 | |
parent | ad14208ca989c3bc513ed158dc1af4ebcdb6e1d7 (diff) | |
download | gsoc2013-empathy-dfa56d59d4ab04bb0796a0a599e2f8fc6455dde3.tar gsoc2013-empathy-dfa56d59d4ab04bb0796a0a599e2f8fc6455dde3.tar.gz gsoc2013-empathy-dfa56d59d4ab04bb0796a0a599e2f8fc6455dde3.tar.bz2 gsoc2013-empathy-dfa56d59d4ab04bb0796a0a599e2f8fc6455dde3.tar.lz gsoc2013-empathy-dfa56d59d4ab04bb0796a0a599e2f8fc6455dde3.tar.xz gsoc2013-empathy-dfa56d59d4ab04bb0796a0a599e2f8fc6455dde3.tar.zst gsoc2013-empathy-dfa56d59d4ab04bb0796a0a599e2f8fc6455dde3.zip |
There is no reason for import_dialog_add_account to fail.
svn path=/trunk/; revision=1639
-rw-r--r-- | src/empathy-import-dialog.c | 10 |
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; |