Update libwnck "active-window-changed" callback due to API changes

This commit is contained in:
Guillaume Desmottes
2007-09-11 11:02:07 +02:00
parent a946f1d435
commit 297d107ee2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ class HomeModel(gobject.GObject):
def _set_active_error(self, err):
logging.error("set_active() failed: %s" % err)
def _active_window_changed_cb(self, screen):
def _active_window_changed_cb(self, screen, previous_window=None):
window = screen.get_active_window()
if window is None:
return