[Spice-commits] client/gui

Alon Levy alon at kemper.freedesktop.org
Thu Aug 29 06:24:11 PDT 2013


 client/gui/gui.cpp |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit d867788044fbb6f56b5b0f5bc4d9feb18da594fb
Author: Alon Levy <alevy at redhat.com>
Date:   Thu Aug 29 16:05:40 2013 +0300

    client: add some missing USE_GUI define guards

diff --git a/client/gui/gui.cpp b/client/gui/gui.cpp
index 6dd4cea..4bf7ac8 100644
--- a/client/gui/gui.cpp
+++ b/client/gui/gui.cpp
@@ -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;
 }
 


More information about the Spice-commits mailing list