]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix poppler_document_new_from_file binding
authorJürg Billeter <j@bitron.ch>
Wed, 18 Jun 2008 21:13:29 +0000 (21:13 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Wed, 18 Jun 2008 21:13:29 +0000 (21:13 +0000)
2008-06-18  Jürg Billeter  <j@bitron.ch>

* vapi/packages/poppler-glib/:

Fix poppler_document_new_from_file binding

* vapi/poppler-glib.vapi: regenerated

svn path=/trunk/; revision=1615

ChangeLog
vapi/packages/poppler-glib/poppler-glib.deps
vapi/packages/poppler-glib/poppler-glib.metadata
vapi/poppler-glib.vapi

index ba77b6f30ee0263f12e8ff4353ca49c441fb5b4a..3c57c785a35a1c626b25041d0b33f245d834a4bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-06-18  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/packages/poppler-glib/:
+
+       Fix poppler_document_new_from_file binding
+
+       * vapi/poppler-glib.vapi: regenerated
+
 2008-06-18  Jürg Billeter  <j@bitron.ch>
 
        * vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
index f2c20337edb32ea78a0f5a2186b09f708c802431..70df1eab5c8036d900213d4bc2c7834b5faed983 100644 (file)
@@ -1,3 +1,4 @@
+gio-2.0
 pango
 gdk-pixbuf-2.0
 gdk-2.0
index 87a430ed7e85b2a6f62690d789203c6da2cc240b..d03d8665bf01790bcace89f304a5b874259f79ab 100644 (file)
@@ -1,4 +1,5 @@
 Poppler cheader_filename="poppler.h"
+poppler_document_new_from_file.password nullable="1"
 poppler_page_get_size.width is_out="1"
 poppler_page_get_size.height is_out="1"
 
index 65d6d43d5aadd47788357cc8fdebb969f6578af2..e89e4cfad2e7c0ed164d480e20d59386913764a3 100644 (file)
@@ -206,7 +206,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_action_copy", cheader_filename = "poppler.h")]
-       public class Action : GLib.Boxed {
+       public class Action {
                public Poppler.ActionType type;
                public weak Poppler.ActionAny any;
                public weak Poppler.ActionGotoDest goto_dest;
@@ -219,7 +219,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_dest_copy", cheader_filename = "poppler.h")]
-       public class Dest : GLib.Boxed {
+       public class Dest {
                public Poppler.DestType type;
                public int page_num;
                public double left;
@@ -235,7 +235,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_fonts_iter_copy", cheader_filename = "poppler.h")]
-       public class FontsIter : GLib.Boxed {
+       public class FontsIter {
                public weak Poppler.FontsIter copy ();
                public weak string get_file_name ();
                public Poppler.FontType get_font_type ();
@@ -247,7 +247,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_form_field_mapping_copy", cheader_filename = "poppler.h")]
-       public class FormFieldMapping : GLib.Boxed {
+       public class FormFieldMapping {
                public weak Poppler.Rectangle area;
                public weak Poppler.FormField field;
                public weak Poppler.FormFieldMapping copy ();
@@ -255,7 +255,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_image_mapping_copy", cheader_filename = "poppler.h")]
-       public class ImageMapping : GLib.Boxed {
+       public class ImageMapping {
                public weak Poppler.Rectangle area;
                public weak Gdk.Pixbuf image;
                public weak Poppler.ImageMapping copy ();
@@ -263,7 +263,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_index_iter_copy", cheader_filename = "poppler.h")]
-       public class IndexIter : GLib.Boxed {
+       public class IndexIter {
                public weak Poppler.IndexIter copy ();
                public weak Poppler.Action get_action ();
                public weak Poppler.IndexIter get_child ();
@@ -273,7 +273,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_link_mapping_copy", cheader_filename = "poppler.h")]
-       public class LinkMapping : GLib.Boxed {
+       public class LinkMapping {
                public weak Poppler.Rectangle area;
                public weak Poppler.Action action;
                public weak Poppler.LinkMapping copy ();
@@ -281,7 +281,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_page_transition_copy", cheader_filename = "poppler.h")]
-       public class PageTransition : GLib.Boxed {
+       public class PageTransition {
                public Poppler.PageTransitionType type;
                public Poppler.PageTransitionAlignment alignment;
                public Poppler.PageTransitionDirection direction;
@@ -294,7 +294,7 @@ namespace Poppler {
        }
        [Compact]
        [CCode (copy_function = "poppler_rectangle_copy", cheader_filename = "poppler.h")]
-       public class Rectangle : GLib.Boxed {
+       public class Rectangle {
                public double x1;
                public double y1;
                public double x2;
@@ -323,7 +323,7 @@ namespace Poppler {
                public weak Poppler.Page get_page_by_label (string label);
                public bool has_attachments ();
                public Document.from_data (string data, int length, string password) throws GLib.Error;
-               public Document.from_file (string uri, string password) throws GLib.Error;
+               public Document.from_file (string uri, string? password) throws GLib.Error;
                public bool save (string uri) throws GLib.Error;
                [NoAccessorMethod]
                public string author { get; }