Replace usage of deprecated gtk api

Fixes part of GNOME Bug #572332
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2009-04-30 19:45:17 +02:00
committed by Owen W. Taylor
parent 6638d0e507
commit 90f21fa5db
3 changed files with 3 additions and 3 deletions

View File

@ -656,7 +656,7 @@ meta_ui_window_should_not_cause_focus (Display *xdisplay,
/* we shouldn't cause focus if we're an override redirect
* toplevel which is not foreign
*/
if (window && gdk_window_get_type (window) == GDK_WINDOW_TEMP)
if (window && gdk_window_get_window_type (window) == GDK_WINDOW_TEMP)
return TRUE;
else
return FALSE;