bug fixes for the movie code.

Sam Kaplan (none) skaplan at fermatjr.
Sun Nov 8 16:55:40 PST 2009


---
 glib/demo/annots.c    |    1 -
 glib/poppler-movie.cc |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/glib/demo/annots.c b/glib/demo/annots.c
index 6ab2934..bf85800 100644
--- a/glib/demo/annots.c
+++ b/glib/demo/annots.c
@@ -385,7 +385,6 @@ pgd_annot_view_set_annot_screen (GtkWidget         *table,
 				      NULL);
   gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog),
                                                   TRUE);
-  gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), "HOME");
   gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog), "movie");
   if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
   {
diff --git a/glib/poppler-movie.cc b/glib/poppler-movie.cc
index cbaecff..e304719 100644
--- a/glib/poppler-movie.cc
+++ b/glib/poppler-movie.cc
@@ -114,8 +114,6 @@ poppler_movie_save (PopplerMovie *poppler_movie,
 
   poppler_movie->movie->outputToFile (f);
 
-  fclose (f);
-
   if (fclose (f) < 0)
     {
       gchar *display_name = g_filename_display_name (filename);
-- 
1.6.3.3


--=-mgMZ8iqBlGcMhq1Is3NE--



More information about the poppler mailing list