Commit 10fe1c31 authored by Felix Häcker's avatar Felix Häcker
Browse files

Fix compile error

parent ad647fee
Pipeline #242769 failed with stage
in 3 minutes and 35 seconds
use crate::auto::Installation;
use glib::object::IsA;
use glib::translate::*;
use crate::auto::Installation;
use std::ptr;
pub trait InstallationExtManual: 'static {
......@@ -32,10 +32,10 @@ impl<O: IsA<Installation>> InstallationExtManual for O {
&mut error,
);
if from_glib(ret) {
Ok(out_changed)
Ok(from_glib(out_changed as glib::ffi::gboolean))
} else {
Err(from_glib_full(error))
}
}
}
}
\ No newline at end of file
}
......@@ -23,4 +23,4 @@ pub use auto::*;
pub mod prelude;
pub mod installation;
\ No newline at end of file
pub mod installation;
pub use crate::auto::traits::*;
pub use crate::installation::InstallationExtManual;
\ No newline at end of file
pub use crate::installation::InstallationExtManual;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment