aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/importers/evolution-csv-importer.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/importers/evolution-csv-importer.c')
-rw-r--r--addressbook/importers/evolution-csv-importer.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/addressbook/importers/evolution-csv-importer.c b/addressbook/importers/evolution-csv-importer.c
index f41a806940..20d0209f4b 100644
--- a/addressbook/importers/evolution-csv-importer.c
+++ b/addressbook/importers/evolution-csv-importer.c
@@ -40,7 +40,7 @@
#include <libebook/e-destination.h>
-#include "e-util/e-import.h"
+#include <e-util/e-import.h>
#include "evolution-addressbook-importers.h"
@@ -784,9 +784,12 @@ csv_getwidget (EImport *ei,
if (primary == NULL) {
primary = e_source_list_peek_source_any (source_list);
g_object_ref (primary);
- g_datalist_set_data_full(&target->data, "csv-source", primary, g_object_unref);
+ g_datalist_set_data_full (
+ &target->data, "csv-source", primary,
+ (GDestroyNotify) g_object_unref);
}
- e_source_selector_set_primary_selection (E_SOURCE_SELECTOR (selector), primary);
+ e_source_selector_set_primary_selection (
+ E_SOURCE_SELECTOR (selector), primary);
g_object_unref (source_list);
g_signal_connect (