[Spice-commits] client/screen.cpp client/screen.h

Uri Lublin uril at kemper.freedesktop.org
Thu Dec 22 01:45:10 PST 2011


 client/screen.cpp |   10 +++++-----
 client/screen.h   |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 8b797180eef47af9997e7658a0d0e30baa42d2aa
Author: Uri Lublin <uril at redhat.com>
Date:   Thu Dec 22 11:19:14 2011 +0200

    client: screen: fix typo _forec_update_timer
    
    sed -i 's/_forec_update_timer/_force_update_timer/' screen.cpp screen.h

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;


More information about the Spice-commits mailing list