window: Remove meta_window_get_rect

It's a bad API that returns weird results you wouldn't expect.
This commit is contained in:
Jasper St. Pierre
2014-05-27 15:15:41 -04:00
parent b704659899
commit d4058d947b
2 changed files with 0 additions and 15 deletions

View File

@ -6944,20 +6944,6 @@ meta_window_is_skip_taskbar (MetaWindow *window)
return window->skip_taskbar;
}
/**
* meta_window_get_rect:
* @window: a #MetaWindow
*
* Gets the rectangle that bounds @window, ignoring any window decorations.
*
* Return value: (transfer none): the #MetaRectangle for the window
*/
MetaRectangle *
meta_window_get_rect (MetaWindow *window)
{
return &window->rect;
}
/**
* meta_window_get_screen:
* @window: a #MetaWindow