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; 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: * meta_window_get_screen:
* @window: a #MetaWindow * @window: a #MetaWindow

View File

@ -108,7 +108,6 @@ gboolean meta_window_appears_focused (MetaWindow *window);
gboolean meta_window_is_shaded (MetaWindow *window); gboolean meta_window_is_shaded (MetaWindow *window);
gboolean meta_window_is_override_redirect (MetaWindow *window); gboolean meta_window_is_override_redirect (MetaWindow *window);
gboolean meta_window_is_skip_taskbar (MetaWindow *window); gboolean meta_window_is_skip_taskbar (MetaWindow *window);
MetaRectangle *meta_window_get_rect (MetaWindow *window);
void meta_window_get_input_rect (const MetaWindow *window, MetaRectangle *rect); void meta_window_get_input_rect (const MetaWindow *window, MetaRectangle *rect);
void meta_window_get_frame_rect (const MetaWindow *window, MetaRectangle *rect); void meta_window_get_frame_rect (const MetaWindow *window, MetaRectangle *rect);