lib/ref: Suppress more collection ref methods from introspection
authorColin Walters <walters@verbum.org>
Mon, 26 Jun 2017 22:11:40 +0000 (18:11 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 27 Jun 2017 11:56:44 +0000 (11:56 +0000)
This squashes some warnings.

Closes: #965
Approved by: pwithnall

src/libostree/ostree-ref.h

index 4d43153c1978cb80be0de906256b1c3014a18e10..b23af17107ad38ca2dc0eb38f1e74059446ddd0c 100644 (file)
@@ -52,7 +52,6 @@ typedef struct
 #ifndef __GI_SCANNER__
 _OSTREE_PUBLIC
 GType ostree_collection_ref_get_type (void);
-#endif
 
 _OSTREE_PUBLIC
 OstreeCollectionRef *ostree_collection_ref_new (const gchar *collection_id,
@@ -61,6 +60,7 @@ _OSTREE_PUBLIC
 OstreeCollectionRef *ostree_collection_ref_dup (const OstreeCollectionRef *ref);
 _OSTREE_PUBLIC
 void ostree_collection_ref_free (OstreeCollectionRef *ref);
+#endif
 
 _OSTREE_PUBLIC
 guint ostree_collection_ref_hash (gconstpointer ref);