lib: Squash two gtk-doc warnings

Just noticed these while doing a build.
This commit is contained in:
Colin Walters 2020-04-04 17:05:56 +00:00
parent 08ebf5ae5a
commit c4d519733d
2 changed files with 3 additions and 1 deletions

View File

@ -24,9 +24,11 @@
#include "ostree-core.h" #include "ostree-core.h"
#include "ostree-types.h" #include "ostree-types.h"
#ifndef __GI_SCANNER__
#ifndef G_GNUC_DEPRECATED_FOR #ifndef G_GNUC_DEPRECATED_FOR
# define G_GNUC_DEPRECATED_FOR(x) # define G_GNUC_DEPRECATED_FOR(x)
#endif #endif
#endif
G_BEGIN_DECLS G_BEGIN_DECLS

View File

@ -694,7 +694,7 @@ void ostree_repo_commit_modifier_set_sepolicy (OstreeRepoCommitModifier
_OSTREE_PUBLIC _OSTREE_PUBLIC
gboolean ostree_repo_commit_modifier_set_sepolicy_from_commit (OstreeRepoCommitModifier *modifier, gboolean ostree_repo_commit_modifier_set_sepolicy_from_commit (OstreeRepoCommitModifier *modifier,
OstreeRepo *repo, OstreeRepo *repo,
const char *commit, const char *rev,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);