@@ -169,7 +169,7 @@ pub trait FileExtManual: IsA<File> + Sized {
169169 #[ doc( alias = "g_file_replace_contents_async" ) ]
170170 fn replace_contents_async <
171171 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 ,
173173 C : IsA < Cancellable > ,
174174 > (
175175 & self ,
@@ -203,7 +203,7 @@ pub trait FileExtManual: IsA<File> + Sized {
203203 } ;
204204 unsafe extern "C" fn replace_contents_async_trampoline <
205205 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 ,
207207 > (
208208 _source_object : * mut glib:: gobject_ffi:: GObject ,
209209 res : * mut ffi:: GAsyncResult ,
@@ -253,7 +253,7 @@ pub trait FileExtManual: IsA<File> + Sized {
253253 flags : FileCreateFlags ,
254254 ) -> Pin <
255255 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 ) > >
257257 + ' static ,
258258 > ,
259259 > {
0 commit comments