From 674610ef7d6e783b9c92757fe30a68160ed30486 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 19 Nov 2016 10:32:31 +0000 Subject: [PATCH] [GTKUI] Use get_window for GdkWindow instead of attribute --- deluge/ui/gtkui/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/mainwindow.py b/deluge/ui/gtkui/mainwindow.py index 3d1b0145b..d95e40acf 100644 --- a/deluge/ui/gtkui/mainwindow.py +++ b/deluge/ui/gtkui/mainwindow.py @@ -321,7 +321,7 @@ class MainWindow(component.Component): """ if wnck: self.screen.force_update() - win = wnck.window_get(self.window.window.xid) + win = wnck.window_get(self.window.get_window().xid) if win: active_wksp = win.get_screen().get_active_workspace() if active_wksp: