gnome-perl-introspection r29 - trunk/PDF-Poppler/examples



Author: tsch
Date: Sun Nov  2 21:21:51 2008
New Revision: 29
URL: http://svn.gnome.org/viewvc/gnome-perl-introspection?rev=29&view=rev

Log:
The password argument to PDF::Poppler::Document::new_from_file is not optional
anymore -- adapt.


Modified:
   trunk/PDF-Poppler/examples/viewer.pl

Modified: trunk/PDF-Poppler/examples/viewer.pl
==============================================================================
--- trunk/PDF-Poppler/examples/viewer.pl	(original)
+++ trunk/PDF-Poppler/examples/viewer.pl	Sun Nov  2 21:21:51 2008
@@ -9,7 +9,7 @@
 our $CURRENT = 0;
 
 my $uri = filename_to_uri(abs_path($ARGV[0]), undef);
-my $document = PDF::Poppler::Document -> new_from_file($uri);
+my $document = PDF::Poppler::Document -> new_from_file($uri, '');
 
 my $window = Gtk2::Window -> new();
 my $box = Gtk2::VBox -> new(FALSE, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]