[vala] poppler-glib: Make PopplerAction* be structs without type id.



commit 1fdea31e0cc491c2afdd5b312360a410b859fb27
Author: Rumen Zarev <rumen coding gmail com>
Date:   Tue Aug 17 11:02:43 2010 +0200

    poppler-glib: Make PopplerAction* be structs without type id.
    
    Fixes bug 627070.

 vapi/packages/poppler-glib/poppler-glib.metadata |    7 ++
 vapi/poppler-glib.vapi                           |  105 ++++++++++------------
 2 files changed, 56 insertions(+), 56 deletions(-)
---
diff --git a/vapi/packages/poppler-glib/poppler-glib.metadata b/vapi/packages/poppler-glib/poppler-glib.metadata
index 50d4d93..d1e0150 100644
--- a/vapi/packages/poppler-glib/poppler-glib.metadata
+++ b/vapi/packages/poppler-glib/poppler-glib.metadata
@@ -15,3 +15,10 @@ PopplerRectangle is_value_type="1"
 poppler_rectangle_new hidden="1"
 poppler_rectangle_copy hidden="1"
 poppler_rectangle_free hidden="1"
+PopplerActionAny is_value_type="1" has_type_id="0"
+PopplerActionGotoDest is_value_type="1" has_type_id="0"
+PopplerActionGotoRemote is_value_type="1" has_type_id="0"
+PopplerActionLaunch is_value_type="1" has_type_id="0"
+PopplerActionUri is_value_type="1" has_type_id="0"
+PopplerActionNamed is_value_type="1" has_type_id="0"
+PopplerActionMovie is_value_type="1" has_type_id="0"
diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi
index 8f3b99d..295cf81 100644
--- a/vapi/poppler-glib.vapi
+++ b/vapi/poppler-glib.vapi
@@ -5,65 +5,16 @@ namespace Poppler {
 	[Compact]
 	[CCode (copy_function = "poppler_action_copy", type_id = "POPPLER_TYPE_ACTION", cheader_filename = "poppler.h")]
 	public class Action {
-		public weak Poppler.ActionAny any;
-		public weak Poppler.ActionGotoDest goto_dest;
-		public weak Poppler.ActionGotoRemote goto_remote;
-		public weak Poppler.ActionLaunch launch;
-		public weak Poppler.ActionMovie movie;
-		public weak Poppler.ActionNamed named;
+		public Poppler.ActionAny any;
+		public Poppler.ActionGotoDest goto_dest;
+		public Poppler.ActionGotoRemote goto_remote;
+		public Poppler.ActionLaunch launch;
+		public Poppler.ActionMovie movie;
+		public Poppler.ActionNamed named;
 		public Poppler.ActionType type;
-		public weak Poppler.ActionUri uri;
+		public Poppler.ActionUri uri;
 		public Poppler.Action copy ();
 	}
-	[Compact]
-	[CCode (cheader_filename = "poppler.h")]
-	public class ActionAny {
-		public weak string title;
-		public Poppler.ActionType type;
-	}
-	[Compact]
-	[CCode (cheader_filename = "poppler.h")]
-	public class ActionGotoDest {
-		public weak Poppler.Dest dest;
-		public weak string title;
-		public Poppler.ActionType type;
-	}
-	[Compact]
-	[CCode (cheader_filename = "poppler.h")]
-	public class ActionGotoRemote {
-		public weak Poppler.Dest dest;
-		public weak string file_name;
-		public weak string title;
-		public Poppler.ActionType type;
-	}
-	[Compact]
-	[CCode (cheader_filename = "poppler.h")]
-	public class ActionLaunch {
-		public weak string file_name;
-		public weak string @params;
-		public weak string title;
-		public Poppler.ActionType type;
-	}
-	[Compact]
-	[CCode (cheader_filename = "poppler.h")]
-	public class ActionMovie {
-		public weak string title;
-		public Poppler.ActionType type;
-	}
-	[Compact]
-	[CCode (cheader_filename = "poppler.h")]
-	public class ActionNamed {
-		public weak string named_dest;
-		public weak string title;
-		public Poppler.ActionType type;
-	}
-	[Compact]
-	[CCode (cheader_filename = "poppler.h")]
-	public class ActionUri {
-		public weak string title;
-		public Poppler.ActionType type;
-		public weak string uri;
-	}
 	[CCode (cheader_filename = "poppler.h")]
 	public class Annot : GLib.Object {
 		public Poppler.AnnotType get_annot_type ();
@@ -370,6 +321,48 @@ namespace Poppler {
 		public PageTransition ();
 		public Poppler.PageTransition copy ();
 	}
+	[CCode (has_type_id = false, cheader_filename = "poppler.h")]
+	public struct ActionAny {
+		public Poppler.ActionType type;
+		public weak string title;
+	}
+	[CCode (has_type_id = false, cheader_filename = "poppler.h")]
+	public struct ActionGotoDest {
+		public Poppler.ActionType type;
+		public weak string title;
+		public weak Poppler.Dest dest;
+	}
+	[CCode (has_type_id = false, cheader_filename = "poppler.h")]
+	public struct ActionGotoRemote {
+		public Poppler.ActionType type;
+		public weak string title;
+		public weak string file_name;
+		public weak Poppler.Dest dest;
+	}
+	[CCode (has_type_id = false, cheader_filename = "poppler.h")]
+	public struct ActionLaunch {
+		public Poppler.ActionType type;
+		public weak string title;
+		public weak string file_name;
+		public weak string @params;
+	}
+	[CCode (has_type_id = false, cheader_filename = "poppler.h")]
+	public struct ActionMovie {
+		public Poppler.ActionType type;
+		public weak string title;
+	}
+	[CCode (has_type_id = false, cheader_filename = "poppler.h")]
+	public struct ActionNamed {
+		public Poppler.ActionType type;
+		public weak string title;
+		public weak string named_dest;
+	}
+	[CCode (has_type_id = false, cheader_filename = "poppler.h")]
+	public struct ActionUri {
+		public Poppler.ActionType type;
+		public weak string title;
+		public weak string uri;
+	}
 	[CCode (type_id = "POPPLER_TYPE_RECTANGLE", cheader_filename = "poppler.h")]
 	public struct Rectangle {
 		public double x1;



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