[librsvg] introspection: Hide deprecated stuff



commit 552996258212827075a8f192ab81764cd591a939
Author: Christian Persch <chpe gnome org>
Date:   Fri Nov 25 22:58:30 2011 +0100

    introspection: Hide deprecated stuff

 rsvg.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/rsvg.h b/rsvg.h
index c4f43aa..40207cd 100644
--- a/rsvg.h
+++ b/rsvg.h
@@ -182,6 +182,8 @@ RsvgHandle *rsvg_handle_new_from_file (const gchar * file_name, GError ** error)
 
 /* BEGIN deprecated APIs. Do not use! */
 
+#ifndef __GI_SCANNER__
+
 RSVG_DEPRECATED_FOR(g_type_init)
 void rsvg_init (void);
 RSVG_DEPRECATED
@@ -229,6 +231,8 @@ GdkPixbuf *rsvg_pixbuf_from_file_at_zoom_with_max (const gchar * file_name,
                                                    double y_zoom,
                                                    gint max_width, gint max_height, GError ** error);
 
+#endif /* !__GI_SCANNER__ */
+
 /* END deprecated APIs. */
 
 G_END_DECLS



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