File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -1443,6 +1443,9 @@ status = "generate"
14431443 [[object .function ]]
14441444 name = " close"
14451445 cfg_condition = " unix"
1446+ [[object .function ]]
1447+ name = " set_environ"
1448+ manual = true
14461449
14471450[[object ]]
14481451name = " Gio.ThemedIcon"
Original file line number Diff line number Diff line change @@ -79,13 +79,6 @@ impl SubprocessLauncher {
7979 }
8080 }
8181
82- #[ doc( alias = "g_subprocess_launcher_set_environ" ) ]
83- pub fn set_environ ( & self , env : & [ & std:: path:: Path ] ) {
84- unsafe {
85- ffi:: g_subprocess_launcher_set_environ ( self . to_glib_none ( ) . 0 , env. to_glib_none ( ) . 0 ) ;
86- }
87- }
88-
8982 #[ doc( alias = "g_subprocess_launcher_set_flags" ) ]
9083 pub fn set_flags ( & self , flags : SubprocessFlags ) {
9184 unsafe {
Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ pub trait IntoRawFd: Sized {
1919}
2020
2121impl SubprocessLauncher {
22+ #[ doc( alias = "g_subprocess_launcher_set_environ" ) ]
23+ pub fn set_environ ( & self , env : & [ std:: ffi:: OsString ] ) {
24+ unsafe {
25+ ffi:: g_subprocess_launcher_set_environ ( self . to_glib_none ( ) . 0 , env. to_glib_none ( ) . 0 ) ;
26+ }
27+ }
28+
2229 #[ cfg( unix) ]
2330 #[ cfg_attr( docsrs, doc( cfg( unix) ) ) ]
2431 #[ doc( alias = "g_subprocess_launcher_take_fd" ) ]
You can’t perform that action at this time.
0 commit comments