[gnome-python-desktop] Add undefined objects to Evince bindings



commit fe79fd6f6a6ef1047bbca3e56cef3823e64869b1
Author: Gonzalo Odiard <godiard sugarlabs org>
Date:   Thu Jan 20 16:58:27 2011 -0300

    Add undefined objects to Evince bindings
    
    For some reason, h2def missed a few objects, making the evince
    bindings somewhat useless.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=639758

 evince/evince.defs |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/evince/evince.defs b/evince/evince.defs
index c99347c..072d272 100644
--- a/evince/evince.defs
+++ b/evince/evince.defs
@@ -175,6 +175,55 @@
   (gtype-id "EV_TYPE_RENDER_CONTEXT")
 )
 
+(define-object DocumentModel
+  (in-module "Ev")
+  (parent "GObject")
+  (c-name "EvDocumentModel")
+  (gtype-id "EV_TYPE_DOCUMENT_MODEL")
+)
+
+(define-object View
+  (in-module "Ev")
+  (parent "GtkWidget")
+  (c-name "EvView")
+  (gtype-id "EV_TYPE_VIEW")
+)
+
+(define-object AnnotationText
+  (in-module "Ev")
+  (parent "GObject")
+  (c-name "EvAnnotationText")
+  (gtype-id "EV_TYPE_ANNOTATION_TEXT")
+)
+
+(define-object AnnotationAttachment
+  (in-module "Ev")
+  (parent "GObject")
+  (c-name "EvAnnotationAttachment")
+  (gtype-id "EV_TYPE_ANNOTATION_ATTACHMENT")
+)
+
+(define-object Link
+  (in-module "Ev")
+  (parent "GObject")
+  (c-name "EvLink")
+  (gtype-id "EV_TYPE_LINK")
+)
+
+(define-object TransitionEffect
+  (in-module "Ev")
+  (parent "GObject")
+  (c-name "EvEffectMappingList")
+  (gtype-id "EV_TYPE_TRANSITION_EFFECT")
+)
+
+(define-object PrintOperation
+  (in-module "Ev")
+  (parent "GObject")
+  (c-name "EvPrintOperation")
+  (gtype-id "EV_TYPE_PRINT_OPERATION")
+)
+
 ;; Enumerations and flags ...
 
 (define-enum AnnotationType



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