GNOME Bugzilla – Bug 658007
workspacesView: Only connect to nWorkspacesChanged after we've lazily inited
Last modified: 2011-09-01 20:26:08 UTC
Simple fix for a warning, nothing too serious
Created attachment 195439 [details] [review] workspacesView: Only connect to nWorkspacesChanged after we've lazily inited We lazily init this._workspaces, so we shouldn't try to run any code that uses it until after it's been created.
Review of attachment 195439 [details] [review]: There feels like there is a bit of weirdness here in that _workspaces is updated after we've shown and hidden, then we toss it before showing it again, but looks like it works and eliminates the warning.
Attachment 195439 [details] pushed as 3aa904d - workspacesView: Only connect to nWorkspacesChanged after we've lazily inited