]> www.fi.muni.cz Git - evince.git/blobdiff - shell/main.c
Fix build with poppler 0.5.9.
[evince.git] / shell / main.c
index 0a653d1a8f76c9b125a5b6b1b027f8a299c3aea0..3abe4cd2ea37ff7b542e5ab86824e8c575c10d56 100644 (file)
@@ -54,7 +54,7 @@ static const GOptionEntry goption_options[] =
        { "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscren_mode, N_("Run evince in fullscreen mode"), NULL },
        { "presentation", 's', 0, G_OPTION_ARG_NONE, &presentation_mode, N_("Run evince in presentation mode"), NULL },
        { "preview", 'w', 0, G_OPTION_ARG_NONE, &preview_mode, N_("Run evince as a previewer"), NULL },
-       { "unlink-temp-file", 'u', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &unlink_temp_file, NULL, NULL },
+       { "unlink-tempfile", 'u', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &unlink_temp_file, NULL, NULL },
        { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &file_arguments, NULL, N_("[FILE...]") },
        { NULL }
 };
@@ -300,7 +300,6 @@ main (int argc, char *argv[])
        }
 #endif
        
-       gdk_threads_init ();
        gnome_authentication_manager_init ();
 
        if (enable_metadata) {