@@ -169,7 +169,7 @@ pub trait FileExtManual: IsA<File> + Sized {
169
169
#[ doc( alias = "g_file_replace_contents_async" ) ]
170
170
fn replace_contents_async <
171
171
B : AsRef < [ u8 ] > + Send + ' static ,
172
- R : FnOnce ( Result < ( B , glib:: GString ) , ( B , glib:: Error ) > ) + ' static ,
172
+ R : FnOnce ( Result < ( B , Option < glib:: GString > ) , ( B , glib:: Error ) > ) + ' static ,
173
173
C : IsA < Cancellable > ,
174
174
> (
175
175
& self ,
@@ -203,7 +203,7 @@ pub trait FileExtManual: IsA<File> + Sized {
203
203
} ;
204
204
unsafe extern "C" fn replace_contents_async_trampoline <
205
205
B : AsRef < [ u8 ] > + Send + ' static ,
206
- R : FnOnce ( Result < ( B , glib:: GString ) , ( B , glib:: Error ) > ) + ' static ,
206
+ R : FnOnce ( Result < ( B , Option < glib:: GString > ) , ( B , glib:: Error ) > ) + ' static ,
207
207
> (
208
208
_source_object : * mut glib:: gobject_ffi:: GObject ,
209
209
res : * mut ffi:: GAsyncResult ,
@@ -253,7 +253,7 @@ pub trait FileExtManual: IsA<File> + Sized {
253
253
flags : FileCreateFlags ,
254
254
) -> Pin <
255
255
Box <
256
- dyn std:: future:: Future < Output = Result < ( B , glib:: GString ) , ( B , glib:: Error ) > >
256
+ dyn std:: future:: Future < Output = Result < ( B , Option < glib:: GString > ) , ( B , glib:: Error ) > >
257
257
+ ' static ,
258
258
> ,
259
259
> {
0 commit comments