]> www.fi.muni.cz Git - evince.git/blobdiff - shell/main.c
Ever build metadata manager since it's just disabled at runtime now.
[evince.git] / shell / main.c
index 7a070912b32b552fb8b1d9733f71f27167cc50c4..f6600f0f19edafc347dddff103e28797f0ee8066 100644 (file)
@@ -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;
 }