summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-10 15:07:03 -0400
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-09-12 15:13:32 +0100
commitcfadd1d93745f629f32fcf4d84d72bdf18c2bf29 (patch)
tree6ce3c97b761805936c9290ed311888f21568e9d3
parentefef6e224885946cf3b29ddb41441b8c868712b1 (diff)
introspection: Build with latest g-i
Hide a compatibility typedef. https://bugzilla.gnome.org/show_bug.cgi?id=629241 https://bugzilla.gnome.org/show_bug.cgi?id=550616
-rw-r--r--gst/gsterror.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/gsterror.h b/gst/gsterror.h
index 72b5bf4d1..d722ce0eb 100644
--- a/gst/gsterror.h
+++ b/gst/gsterror.h
@@ -240,7 +240,11 @@ typedef enum
*/
#define GST_ERROR_SYSTEM ("system error: %s", g_strerror (errno))
+/* Hide this compatibility type from introspection */
+#ifndef __GI_SCANNER__
GType gst_g_error_get_type (void);
+#endif
+
gchar *gst_error_get_message (GQuark domain, gint code);
GQuark gst_stream_error_quark (void);
GQuark gst_core_error_quark (void);