summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2011-12-22 11:19:14 +0200
committerYonit Halperin <yhalperi@redhat.com>2011-12-22 12:51:21 +0200
commitf5ad94674c3fe97ca439c4758824c9437a2876df (patch)
treef7800dccaabbcb092cd39bb89472774528f6d7db /client
parenta3a3b34a46f57ce86da444532e1db292638a74cd (diff)
client: screen: fix typo _forec_update_timer
sed -i 's/_forec_update_timer/_force_update_timer/' screen.cpp screen.h
Diffstat (limited to 'client')
-rw-r--r--client/screen.cpp10
-rw-r--r--client/screen.h2
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;