mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 01:25:32 +00:00
remove rc wrap
This commit is contained in:
parent
98c6150f74
commit
0cc6d10017
2 changed files with 4 additions and 6 deletions
|
|
@ -10,10 +10,9 @@ pub use meta::Meta;
|
|||
use super::Connection;
|
||||
use gio::Cancellable;
|
||||
use glib::Priority;
|
||||
use std::rc::Rc;
|
||||
|
||||
pub struct Response {
|
||||
pub connection: Rc<Connection>,
|
||||
pub connection: Connection,
|
||||
pub meta: Meta,
|
||||
}
|
||||
|
||||
|
|
@ -21,7 +20,7 @@ impl Response {
|
|||
// Constructors
|
||||
|
||||
pub fn from_request_async(
|
||||
connection: Rc<Connection>,
|
||||
connection: Connection,
|
||||
priority: Option<Priority>,
|
||||
cancellable: Option<Cancellable>,
|
||||
callback: impl FnOnce(Result<Self, Error>) + 'static,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue