diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 21:18:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 21:18:54 +0800 |
commit | f8730610042229f275a5a294df4c2eb5f225118e (patch) | |
tree | ef36b4df5144619db1c4f0f3d207af7645f77bc4 /addressbook/importers | |
parent | e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (diff) | |
download | gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.gz gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.zst gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.zip |
Fix compiler warnings in addressbook.
Diffstat (limited to 'addressbook/importers')
-rw-r--r-- | addressbook/importers/evolution-csv-importer.c | 4 | ||||
-rw-r--r-- | addressbook/importers/evolution-ldif-importer.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/importers/evolution-csv-importer.c b/addressbook/importers/evolution-csv-importer.c index c699662b5c..b5c9f7f8ce 100644 --- a/addressbook/importers/evolution-csv-importer.c +++ b/addressbook/importers/evolution-csv-importer.c @@ -68,7 +68,7 @@ static char delimiter; static void csv_import_done(CSVImporter *gci); typedef struct { - char *csv_attribute; + const gchar *csv_attribute; EContactField contact_field; #define FLAG_HOME_ADDRESS 0x01 #define FLAG_WORK_ADDRESS 0x02 @@ -704,7 +704,7 @@ csv_getwidget(EImport *ei, EImportTarget *target, EImportImporter *im) return vbox; } -static char *supported_extensions[4] = { +static const gchar *supported_extensions[4] = { ".csv", ".tab" , ".txt", NULL }; diff --git a/addressbook/importers/evolution-ldif-importer.c b/addressbook/importers/evolution-ldif-importer.c index 2f7b2cced9..b0380cf227 100644 --- a/addressbook/importers/evolution-ldif-importer.c +++ b/addressbook/importers/evolution-ldif-importer.c @@ -73,7 +73,7 @@ static void ldif_import_done(LDIFImporter *gci); static struct { - char *ldif_attribute; + const gchar *ldif_attribute; EContactField contact_field; #define FLAG_HOME_ADDRESS 0x01 #define FLAG_WORK_ADDRESS 0x02 @@ -556,7 +556,7 @@ ldif_getwidget(EImport *ei, EImportTarget *target, EImportImporter *im) return vbox; } -static char *supported_extensions[2] = { +static const gchar *supported_extensions[2] = { ".ldif", NULL }; |