summaryrefslogtreecommitdiff
path: root/vapi/poppler-glib.vapi
diff options
context:
space:
mode:
authorRumen Zarev <rumen.coding@gmail.com>2010-08-17 11:02:43 +0200
committerLuca Bruno <lethalman88@gmail.com>2010-08-17 11:07:07 +0200
commit1fdea31e0cc491c2afdd5b312360a410b859fb27 (patch)
tree60b3fc3bfed70350290af57ebd324cfc60a7b8f6 /vapi/poppler-glib.vapi
parentaef8d07cea625ba5f5b6d30c7f6c75f1914c7e5b (diff)
downloadvala-1fdea31e0cc491c2afdd5b312360a410b859fb27.tar.gz
poppler-glib: Make PopplerAction* be structs without type id.
Fixes bug 627070.
Diffstat (limited to 'vapi/poppler-glib.vapi')
-rw-r--r--vapi/poppler-glib.vapi105
1 files changed, 49 insertions, 56 deletions
diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi
index 8f3b99d60..295cf816d 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;