mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
This commit is contained in:
@@ -642,3 +642,12 @@ fn get_env(name: &str, uid: &str) -> String {
|
||||
"".to_owned()
|
||||
}
|
||||
}
|
||||
|
||||
#[link(name = "gtk-3")]
|
||||
extern "C" {
|
||||
fn gtk_main_quit();
|
||||
}
|
||||
|
||||
pub fn quit_gui() {
|
||||
unsafe { gtk_main_quit() };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user