[librsvg] Hide some deprecated stuff from the GI scanner
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Hide some deprecated stuff from the GI scanner
- Date: Tue, 19 Jun 2012 12:06:04 +0000 (UTC)
commit b3ef458bd0ed9692a033f91562a743b97fc8fc4e
Author: Christian Persch <chpe gnome org>
Date: Tue Jun 19 13:56:42 2012 +0200
Hide some deprecated stuff from the GI scanner
And remove definitions for librsvg_{pre,post}init which have no implementation.
librsvg-features.h.in | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/librsvg-features.h.in b/librsvg-features.h.in
index 2c07a9f..b8d1835 100644
--- a/librsvg-features.h.in
+++ b/librsvg-features.h.in
@@ -15,15 +15,14 @@
(LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION > (minor)) || \
(LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION == (minor) && LIBRSVG_MICRO_VERSION >= (micro)))
+#ifndef __GI_SCANNER__
#define LIBRSVG_HAVE_SVGZ (TRUE)
#define LIBRSVG_HAVE_CSS (TRUE)
#define LIBRSVG_CHECK_FEATURE(FEATURE) (defined(LIBRSVG_HAVE_##FEATURE) && LIBRSVG_HAVE_##FEATURE)
+#endif
extern const unsigned int librsvg_major_version, librsvg_minor_version, librsvg_micro_version;
extern const char *librsvg_version;
-void librsvg_preinit(void *app, void *modinfo);
-void librsvg_postinit(void *app, void *modinfo);
-
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]