File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ impl BrowserWindow {
290290 #[ cfg( target_os = "windows" ) ]
291291 {
292292 use tao:: platform:: windows:: WindowExtWindows ;
293- menu . init_for_hwnd ( window. hwnd ( ) as isize ) . map_err ( |e| {
293+ _menu . init_for_hwnd ( window. hwnd ( ) as isize ) . map_err ( |e| {
294294 napi:: Error :: new (
295295 napi:: Status :: GenericFailure ,
296296 format ! ( "Failed to set global menu: {}" , e) ,
@@ -300,7 +300,7 @@ impl BrowserWindow {
300300 #[ cfg( target_os = "linux" ) ]
301301 {
302302 use tao:: platform:: unix:: WindowExtUnix ;
303- menu . init_for_gtk_window ( window. gtk_window ( ) , window. default_vbox ( ) ) . map_err ( |e| {
303+ _menu . init_for_gtk_window ( window. gtk_window ( ) , window. default_vbox ( ) ) . map_err ( |e| {
304304 napi:: Error :: new (
305305 napi:: Status :: GenericFailure ,
306306 format ! ( "Failed to set global menu: {}" , e) ,
You can’t perform that action at this time.
0 commit comments