diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/Makefile.am | 8 | ||||
-rw-r--r-- | shell/main.c | 7 |
2 files changed, 3 insertions, 12 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am index 8b6cd7d..dffbb75 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -30,6 +30,8 @@ evince_SOURCES= \ ev-job-xfer.h \ ev-marshal.c \ ev-marshal.h \ + ev-metadata-manager.c \ + ev-metadata-manager.h \ ev-page-action.c \ ev-page-action.h \ ev-page-cache.h \ @@ -66,12 +68,6 @@ evince_SOURCES= \ ev-stock-icons.h \ main.c -if ENABLE_METADATA -evince_SOURCES += \ - ev-metadata-manager.h \ - ev-metadata-manager.c -endif - evince_LDADD= \ $(SHELL_LIBS) \ $(top_builddir)/cut-n-paste/recent-files/librecent.la \ diff --git a/shell/main.c b/shell/main.c index 7a07091..f6600f0 100644 --- a/shell/main.c +++ b/shell/main.c @@ -149,9 +149,7 @@ load_files_remote (const char **files) int main (int argc, char *argv[]) { -#ifdef ENABLE_METADATA gboolean enable_metadata = FALSE; -#endif poptContext context; GValue context_as_value = { 0 }; GnomeProgram *program; @@ -189,11 +187,10 @@ main (int argc, char *argv[]) gnome_authentication_manager_init (); -#if ENABLE_METADATA + if (enable_metadata) { ev_metadata_manager_init (); } -#endif ev_job_queue_init (); g_set_application_name (_("Evince Document Viewer")); @@ -211,11 +208,9 @@ main (int argc, char *argv[]) poptFreeContext (context); ev_file_helpers_shutdown (); -#if ENABLE_METADATA if (enable_metadata) { ev_metadata_manager_shutdown (); } -#endif return 0; } |