[vala] librsvg-2.0: Add librsvg/rsvg-cairo.h header to cairo methods



commit f8a8402a3fa6622170f4d6eee9cb26071cc9597e
Author: Robert Ancell <robert ancell gmail com>
Date:   Sun May 15 23:01:20 2011 +0200

    librsvg-2.0: Add librsvg/rsvg-cairo.h header to cairo methods
    
    Fixes bug 642649.

 vapi/librsvg-2.0.vapi                          |    2 ++
 vapi/packages/librsvg-2.0/librsvg-2.0.metadata |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/librsvg-2.0.vapi b/vapi/librsvg-2.0.vapi
index 52c61b9..0c436ca 100644
--- a/vapi/librsvg-2.0.vapi
+++ b/vapi/librsvg-2.0.vapi
@@ -22,7 +22,9 @@ namespace Rsvg {
 		public bool get_position_sub (ref Rsvg.PositionData position_data, string id);
 		public unowned string get_title ();
 		public bool has_sub (string id);
+		[CCode (cheader_filename = "librsvg/rsvg-cairo.h")]
 		public bool render_cairo (Cairo.Context cr);
+		[CCode (cheader_filename = "librsvg/rsvg-cairo.h")]
 		public bool render_cairo_sub (Cairo.Context cr, string id);
 		public void set_base_uri (string base_uri);
 		public void set_dpi (double dpi);
diff --git a/vapi/packages/librsvg-2.0/librsvg-2.0.metadata b/vapi/packages/librsvg-2.0/librsvg-2.0.metadata
index ab290c2..451cda2 100644
--- a/vapi/packages/librsvg-2.0/librsvg-2.0.metadata
+++ b/vapi/packages/librsvg-2.0/librsvg-2.0.metadata
@@ -5,6 +5,7 @@ RsvgSizeFunc.width is_ref="1"
 RsvgSizeFunc.height is_ref="1"
 rsvg_handle_get_dimensions_sub.dimension_data is_ref="1"
 rsvg_handle_get_position_sub.position_data is_ref="1"
+rsvg_handle_render_cairo* cheader_filename="librsvg/rsvg-cairo.h"
 rsvg_handle_new_from_data.data is_array="1" no_array_length="1"
 rsvg_handle_set_size_callback.size_func transfer_ownership="1"
 rsvg_handle_set_size_callback.user_data_destroy hidden="1"
\ No newline at end of file



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