Don't use mutter_window_get_window_type / MetaCompWindowType

They have been removed so we have to use meta_window_get_window_type()
and MetaWindowType instead.

https://bugzilla.gnome.org/show_bug.cgi?id=630363
This commit is contained in:
Adel Gadllah
2010-09-30 08:42:14 +02:00
parent c6eb2761c7
commit 61c906807b
2 changed files with 5 additions and 5 deletions

View File

@ -614,7 +614,7 @@ Workspace.prototype = {
// Find the desktop window
for (let i = 0; i < windows.length; i++) {
if (windows[i].get_window_type() == Meta.WindowType.DESKTOP) {
if (windows[i].meta_window.get_window_type() == Meta.WindowType.DESKTOP) {
this._desktop = new DesktopClone(windows[i]);
break;
}