summaryrefslogtreecommitdiff
path: root/rust-bindings/src/auto/remote.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust-bindings/src/auto/remote.rs')
-rw-r--r--rust-bindings/src/auto/remote.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-bindings/src/auto/remote.rs b/rust-bindings/src/auto/remote.rs
index 9b80a8c3..d0925ae8 100644
--- a/rust-bindings/src/auto/remote.rs
+++ b/rust-bindings/src/auto/remote.rs
@@ -27,7 +27,7 @@ impl Remote {
#[doc(alias = "ostree_remote_get_url")]
#[doc(alias = "get_url")]
- pub fn url(&self) -> glib::GString {
+ pub fn url(&self) -> Option<glib::GString> {
unsafe {
from_glib_full(ffi::ostree_remote_get_url(self.to_glib_none().0))
}