[Spice-devel] [PATCH] client: add some missing USE_GUI define guards

Christophe Fergeau cfergeau at redhat.com
Thu Aug 29 06:16:02 PDT 2013


ACK


On Thu, Aug 29, 2013 at 04:05:44PM +0300, Alon Levy wrote:
> ---
>  client/gui/gui.cpp | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> 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;
>  }
>  
> -- 
> 1.8.3.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130829/77a2441c/attachment.pgp>


More information about the Spice-devel mailing list