mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-29 17:07:15 +00:00
client: add some missing USE_GUI define guards
This commit is contained in:
parent
d0a1346fda
commit
d867788044
@ -440,9 +440,11 @@ void GUI::Dialog::handle_message_click(int id)
|
||||
application().push_event(*event);
|
||||
}
|
||||
|
||||
#ifdef USE_GUI
|
||||
if (_close_on_message_click) {
|
||||
application().hide_gui();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void GUI::Dialog::pre_destroy()
|
||||
@ -861,7 +863,9 @@ public:
|
||||
bool SettingsDialog::handle_close(const CEGUI::EventArgs& e)
|
||||
{
|
||||
DBG(0, "");
|
||||
#ifdef USE_GUI
|
||||
application().hide_gui();
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user