mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
This commit is contained in:
1 parent
17a4cb6b5c
commit
711d7ed6cd
4 files changed
+16
-3
No files matched your search
@@ -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