mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
(chore): tinyfiledialog::MessageBoxIcon is only used on Linux (#35441)
This was causing a compilation warning on Mac and Windows. Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
8cd280ca3b
commit
48e38bcaa2
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ use servo::{
|
||||||
PermissionRequest, PromptDefinition, PromptOrigin, PromptResult, Servo, ServoDelegate,
|
PermissionRequest, PromptDefinition, PromptOrigin, PromptResult, Servo, ServoDelegate,
|
||||||
ServoError, TouchEventAction, WebView, WebViewDelegate,
|
ServoError, TouchEventAction, WebView, WebViewDelegate,
|
||||||
};
|
};
|
||||||
use tinyfiledialogs::{self, MessageBoxIcon};
|
#[cfg(target_os = "linux")]
|
||||||
|
use tinyfiledialogs::MessageBoxIcon;
|
||||||
use url::Url;
|
use url::Url;
|
||||||
|
|
||||||
use super::app::{Present, PumpResult};
|
use super::app::{Present, PumpResult};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue