vala r1615 - in trunk: . vapi vapi/packages/poppler-glib



Author: juergbi
Date: Wed Jun 18 21:13:29 2008
New Revision: 1615
URL: http://svn.gnome.org/viewvc/vala?rev=1615&view=rev

Log:
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


Modified:
   trunk/ChangeLog
   trunk/vapi/packages/poppler-glib/poppler-glib.deps
   trunk/vapi/packages/poppler-glib/poppler-glib.metadata
   trunk/vapi/poppler-glib.vapi

Modified: trunk/vapi/packages/poppler-glib/poppler-glib.deps
==============================================================================
--- trunk/vapi/packages/poppler-glib/poppler-glib.deps	(original)
+++ trunk/vapi/packages/poppler-glib/poppler-glib.deps	Wed Jun 18 21:13:29 2008
@@ -1,3 +1,4 @@
+gio-2.0
 pango
 gdk-pixbuf-2.0
 gdk-2.0

Modified: trunk/vapi/packages/poppler-glib/poppler-glib.metadata
==============================================================================
--- trunk/vapi/packages/poppler-glib/poppler-glib.metadata	(original)
+++ trunk/vapi/packages/poppler-glib/poppler-glib.metadata	Wed Jun 18 21:13:29 2008
@@ -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"
 

Modified: trunk/vapi/poppler-glib.vapi
==============================================================================
--- trunk/vapi/poppler-glib.vapi	(original)
+++ trunk/vapi/poppler-glib.vapi	Wed Jun 18 21:13:29 2008
@@ -206,7 +206,7 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 		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; }



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