File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ pub trait DesktopAppInfoExtManual {
55
55
spawn_flags : glib:: SpawnFlags ,
56
56
user_setup : Option < Box_ < dyn FnOnce ( ) + ' static > > ,
57
57
pid_callback : Option < & mut dyn ( FnMut ( & DesktopAppInfo , glib:: Pid ) ) > ,
58
- stdin_fd : & mut T ,
59
- stdout_fd : & mut U ,
60
- stderr_fd : & mut V ,
58
+ stdin_fd : & T ,
59
+ stdout_fd : & U ,
60
+ stderr_fd : & V ,
61
61
) -> Result < ( ) , Error > ;
62
62
}
63
63
@@ -71,9 +71,9 @@ impl<O: IsA<DesktopAppInfo>> DesktopAppInfoExtManual for O {
71
71
spawn_flags : glib:: SpawnFlags ,
72
72
user_setup : Option < Box_ < dyn FnOnce ( ) + ' static > > ,
73
73
pid_callback : Option < & mut dyn ( FnMut ( & DesktopAppInfo , glib:: Pid ) ) > ,
74
- stdin_fd : & mut T ,
75
- stdout_fd : & mut U ,
76
- stderr_fd : & mut V ,
74
+ stdin_fd : & T ,
75
+ stdout_fd : & U ,
76
+ stderr_fd : & V ,
77
77
) -> Result < ( ) , Error > {
78
78
let user_setup_data: Box_ < Option < Box_ < dyn FnOnce ( ) + ' static > > > = Box_ :: new ( user_setup) ;
79
79
unsafe extern "C" fn user_setup_func < P : IsA < AppLaunchContext > > (
You can’t perform that action at this time.
0 commit comments