~jamespharaoh/ubuntu/oneiric/unity/fix-for-880672

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/SwitcherController.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-19 18:53:28 UTC
  • Revision ID: james.westby@ubuntu.com-20110819185328-qaxk9eepjaghewu9
Tags: 4.8.2-0ubuntu4
Backport another trunk commit to fix an alt-tab segfault

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
  if (view_)
189
189
    main_layout_->RemoveChildObject(view_);
190
190
 
191
 
  view_window_->ShowWindow(false);
 
191
  if (view_window_)
 
192
    view_window_->ShowWindow(false);
192
193
 
193
194
  if (show_timer_)
194
195
    g_source_remove(show_timer_);