lib/archive: Tell g-ir-scanner to ignore the private libarchive bits

Squashes this warning:
```
src/libostree/ostree-libarchive-private.h:46: syntax error, unexpected typedef-name in '  g_autoptr(OtAutoArchiveRead) a = archive_read_new ();' at 'OtAutoArchiveRead'
```

Closes: #1629
Approved by: jlebon
This commit is contained in:
Colin Walters 2018-06-15 21:10:14 +00:00 committed by Atomic Bot
parent ce58307757
commit cc5254ac34
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,9 @@
#pragma once #pragma once
/* Private, not for introspection */
#ifndef __GI_SCANNER__
#include "config.h" #include "config.h"
#include <gio/gio.h> #include <gio/gio.h>
@ -64,3 +67,5 @@ ot_open_archive_read (const char *path, GError **error)
#endif #endif
G_END_DECLS G_END_DECLS
#endif