diff options
Diffstat (limited to 'addressbook/tools/evolution-addressbook-export.h')
-rw-r--r-- | addressbook/tools/evolution-addressbook-export.h | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/addressbook/tools/evolution-addressbook-export.h b/addressbook/tools/evolution-addressbook-export.h index 090446b177..ca78eb823e 100644 --- a/addressbook/tools/evolution-addressbook-export.h +++ b/addressbook/tools/evolution-addressbook-export.h @@ -37,30 +37,18 @@ G_BEGIN_DECLS #define DEFAULT_SIZE_NUMBER 100 -union _ActionContext -{ +struct _ActionContext { guint action_type; + gchar *output_file; - struct - { - gint action_type; - gchar *output_file; - } - action_list_folders; - - struct - { - gint action_type; - gchar *output_file; - gint IsCSV; - gint IsVCard; - gchar *addressbook_source_uid; - } - action_list_cards; + /* for cards only */ + gint IsCSV; + gint IsVCard; + gchar *addressbook_source_uid; }; -typedef union _ActionContext ActionContext; +typedef struct _ActionContext ActionContext; /* action_list_folders */ guint action_list_folders_init (ESourceRegistry *registry, |