From 3b2cfae1768902b60d604fa96cd546636077feb1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 25 Sep 2009 02:59:30 -0400 Subject: Trim unused or unnecessary bits from the import framework. --- shell/e-shell-importer.c | 2 +- shell/main.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index fbc1b306f5..5d062126e0 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -372,7 +372,7 @@ prepare_intelligent_page (GtkAssistant *assistant, GtkWidget *apage, ImportData return; } - page->target = e_import_target_new_home(data->import, g_get_home_dir()); + page->target = e_import_target_new_home(data->import); if (data->importerpage->importers) g_slist_free(data->importerpage->importers); diff --git a/shell/main.c b/shell/main.c index 7ce930f6c2..0f52366aa8 100644 --- a/shell/main.c +++ b/shell/main.c @@ -69,7 +69,6 @@ #include #include "e-util/e-error.h" -#include "e-util/e-import.h" #include #include @@ -610,7 +609,6 @@ main (gint argc, gchar **argv) #ifdef ENABLE_PROFILING e_profile_event_hook_get_type (); #endif - e_import_hook_get_type (); e_plugin_ui_hook_get_type (); /* All EPlugin and EPluginHook subclasses should be -- cgit