lib: Squash two gtk-doc warnings
authorColin Walters <walters@verbum.org>
Sat, 4 Apr 2020 17:05:56 +0000 (17:05 +0000)
committerColin Walters <walters@verbum.org>
Sat, 4 Apr 2020 17:05:56 +0000 (17:05 +0000)
Just noticed these while doing a build.

src/libostree/ostree-repo-deprecated.h
src/libostree/ostree-repo.h

index 4265aa97688c1cafa8b8f1863e1b8e811c107de7..1c9d2251d91af3b3c25a70dcd0319de7774bbfd2 100644 (file)
 #include "ostree-core.h"
 #include "ostree-types.h"
 
+#ifndef __GI_SCANNER__
 #ifndef G_GNUC_DEPRECATED_FOR
 # define G_GNUC_DEPRECATED_FOR(x)
 #endif
+#endif
 
 G_BEGIN_DECLS
 
index 014afff90547779ef0d2e2a1926c8b8156148e19..1027ac772c48bf6d1a4dc65e9926386a97b210b7 100644 (file)
@@ -694,7 +694,7 @@ void ostree_repo_commit_modifier_set_sepolicy (OstreeRepoCommitModifier
 _OSTREE_PUBLIC
 gboolean ostree_repo_commit_modifier_set_sepolicy_from_commit (OstreeRepoCommitModifier              *modifier,
                                                                OstreeRepo                            *repo,
-                                                               const char                            *commit,
+                                                               const char                            *rev,
                                                                GCancellable                          *cancellable,
                                                                GError                               **error);