diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-09 23:48:57 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 21:25:14 +0800 |
commit | 0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be (patch) | |
tree | 10e460b9b8288697c0a2174967d891cb14d661c4 /src/empathy-import-dialog.h | |
parent | 350ed3dbdba49253b6a94c8066c45ae81e95bed1 (diff) | |
download | gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.tar gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.tar.gz gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.tar.bz2 gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.tar.lz gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.tar.xz gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.tar.zst gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.zip |
Make the import system more future-proof
Split the utilities from the widget and the dialog; we now have an enum
for supported applications, with a special value which means "all
applications", which is the only one which triggers showing the "Source"
column in EmpathyImportWidget. We need this to avoid being redundant in
the EmpathyAccountAssistant, as we already choose there the application
from which to import.
Diffstat (limited to 'src/empathy-import-dialog.h')
-rw-r--r-- | src/empathy-import-dialog.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/empathy-import-dialog.h b/src/empathy-import-dialog.h index 14ab33b47..0e9d225c4 100644 --- a/src/empathy-import-dialog.h +++ b/src/empathy-import-dialog.h @@ -42,18 +42,6 @@ G_BEGIN_DECLS (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_IMPORT_DIALOG,\ EmpathyImportDialogClass)) -typedef struct -{ - /* Table mapping CM param string to a GValue */ - GHashTable *settings; - /* Protocol name */ - gchar *protocol; - /* Connection manager name */ - gchar *connection_manager; - /* The name of the account import source */ - gchar *source; -} EmpathyImportAccountData; - typedef struct { GtkDialog parent; @@ -70,12 +58,6 @@ GType empathy_import_dialog_get_type (void); GtkWidget* empathy_import_dialog_new (GtkWindow *parent_window, gboolean show_warning); -EmpathyImportAccountData *empathy_import_account_data_new ( - const gchar *source); -void empathy_import_account_data_free (EmpathyImportAccountData *data); - -gboolean empathy_import_dialog_accounts_to_import (void); - G_END_DECLS #endif /* __EMPATHY_IMPORT_DIALOG_H__ */ |