diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-10-18 14:43:06 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-10-18 14:43:06 +0200 |
commit | df6df8e58720b7cc4ef41b73a09abd1577556407 (patch) | |
tree | d46e3db2553110d8df751be6551873faac716719 /client/application.h | |
parent | bbc079955a078fa80cd5fb6a398c50f031ca383b (diff) | |
download | spice-df6df8e58720b7cc4ef41b73a09abd1577556407.tar.gz spice-df6df8e58720b7cc4ef41b73a09abd1577556407.tar.xz spice-df6df8e58720b7cc4ef41b73a09abd1577556407.zip |
Make the gui use Application::hide_gui rather then hide_me
Now that Application::hide_me actually does what the name suggests
(hide the entire client, ie all client windows), the gui using it to
not show the gui layer leads to the entire client disappearing when
one presses close in the GUI or dismisses a GUI dialog. This patch makes
the GUI code call hide_gui instead of hide_me, fixing this.
Diffstat (limited to 'client/application.h')
-rw-r--r-- | client/application.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/application.h b/client/application.h index 2cff2d59..c01e08bc 100644 --- a/client/application.h +++ b/client/application.h @@ -254,6 +254,7 @@ public: #ifdef USE_GUI bool is_disconnect_allowed(); + void hide_gui(); #endif const std::string& get_host(); @@ -318,7 +319,6 @@ private: void attach_gui_barriers(); void detach_gui_barriers(); void show_gui(); - void hide_gui(); void create_gui_barrier(RedScreen& screen, int id); void destroyed_gui_barrier(int id); void destroyed_gui_barriers(); |