[libsoup] autocleanups: Exclude the header from instrospection



commit 4694333ac441379b654d00a6d6c1375efb63e97f
Author: Kalev Lember <klember redhat com>
Date:   Thu Sep 10 12:01:17 2015 +0200

    autocleanups: Exclude the header from instrospection
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754721

 libsoup/soup-autocleanups.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-autocleanups.h b/libsoup/soup-autocleanups.h
index 979dcdc..914d6fb 100644
--- a/libsoup/soup-autocleanups.h
+++ b/libsoup/soup-autocleanups.h
@@ -24,6 +24,7 @@
 #include <libsoup/soup-uri.h>
 
 #if SOUP_VERSION_MAX_ALLOWED >= SOUP_VERSION_2_52
+#ifndef __GI_SCANNER__
 #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
 
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupAddress, g_object_unref)
@@ -46,5 +47,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupWebsocketConnection, g_object_unref)
 
 #endif
 #endif
+#endif
 
 #endif /* SOUP_AUTOCLEANUPS_H */


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