From bd40dcfc2bc7c9014ea1f33482fb63aacbcdfe87 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 8 Jan 2019 14:52:57 +0100 Subject: vendor: update everything * If possible, update each dependency to the latest available version. * Use releases over commit IDs and avoid vendoring branches. Signed-off-by: Valentin Rothberg --- vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vendor/github.com/ostreedev') diff --git a/vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go b/vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go index 24822b2b7..8b0236ff6 100644 --- a/vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go +++ b/vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go @@ -112,8 +112,8 @@ func generateError(err *C.GError) error { return goErr } -// isOk wraps a return value (gboolean/gint) into a bool. +// isOk wraps a gboolean return value into a bool. // 0 is false/error, everything else is true/ok. -func isOk(v C.int) bool { +func isOk(v C.gboolean) bool { return glib.GoBool(glib.GBoolean(v)) } -- cgit v1.2.3-54-g00ecf