introspection: Build with latest g-i
authorColin Walters <walters@verbum.org>
Fri, 10 Sep 2010 19:07:03 +0000 (15:07 -0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 12 Sep 2010 14:13:32 +0000 (15:13 +0100)
Hide a compatibility typedef.

https://bugzilla.gnome.org/show_bug.cgi?id=629241
https://bugzilla.gnome.org/show_bug.cgi?id=550616

gst/gsterror.h

index 72b5bf4..d722ce0 100644 (file)
@@ -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);