Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
World
Rust
libflatpak-rs
Commits
10fe1c31
Commit
10fe1c31
authored
Dec 31, 2020
by
Felix Häcker
Browse files
Fix compile error
parent
ad647fee
Pipeline
#242769
failed with stage
in 3 minutes and 35 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
flatpak/src/installation.rs
View file @
10fe1c31
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
}
flatpak/src/lib.rs
View file @
10fe1c31
...
...
@@ -23,4 +23,4 @@ pub use auto::*;
pub
mod
prelude
;
pub
mod
installation
;
\ No newline at end of file
pub
mod
installation
;
flatpak/src/prelude.rs
View file @
10fe1c31
pub
use
crate
::
auto
::
traits
::
*
;
pub
use
crate
::
installation
::
InstallationExtManual
;
\ No newline at end of file
pub
use
crate
::
installation
::
InstallationExtManual
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment