[Spice-devel] [PATCH] client: screen: fix typo _forec_update_timer
Christophe Fergeau
cfergeau at redhat.com
Thu Dec 22 01:31:01 PST 2011
ACK
On Thu, Dec 22, 2011 at 11:20:52AM +0200, Uri Lublin wrote:
> sed -i 's/_forec_update_timer/_force_update_timer/' screen.cpp screen.h
> ---
> client/screen.cpp | 10 +++++-----
> client/screen.h | 2 +-
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/client/screen.cpp b/client/screen.cpp
> index a0dc0df..dc33455 100644
> --- a/client/screen.cpp
> +++ b/client/screen.cpp
> @@ -88,7 +88,7 @@ RedScreen::RedScreen(Application& owner, int id, const std::string& name, int wi
> , _update_by_timer (true)
> , _size_locked (false)
> , _menu_needs_update (false)
> - , _forec_update_timer (0)
> + , _force_update_timer (0)
> , _update_timer (new UpdateTimer(this))
> , _composit_area (NULL)
> , _update_mark (1)
> @@ -402,7 +402,7 @@ void RedScreen::periodic_update()
> if (is_dirty()) {
> need_update = true;
> } else {
> - if (!_forec_update_timer) {
> + if (!_force_update_timer) {
> _owner.deactivate_interval_timer(*_update_timer);
> _periodic_update = false;
> }
> @@ -742,14 +742,14 @@ void RedScreen::on_stop_key_interception()
>
> void RedScreen::enter_modal_loop()
> {
> - _forec_update_timer++;
> + _force_update_timer++;
> activate_timer();
> }
>
> void RedScreen::exit_modal_loop()
> {
> - ASSERT(_forec_update_timer > 0)
> - _forec_update_timer--;
> + ASSERT(_force_update_timer > 0)
> + _force_update_timer--;
> }
>
> void RedScreen::pre_migrate()
> diff --git a/client/screen.h b/client/screen.h
> index 6c470ca..19efffb 100644
> --- a/client/screen.h
> +++ b/client/screen.h
> @@ -179,7 +179,7 @@ private:
> bool _update_by_timer;
> bool _size_locked;
> bool _menu_needs_update;
> - int _forec_update_timer;
> + int _force_update_timer;
> AutoRef<UpdateTimer> _update_timer;
> RedDrawable* _composit_area;
> uint64_t _update_mark;
> --
> 1.7.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/20111222/266096e4/attachment.pgp>
More information about the Spice-devel
mailing list