window: Remove meta_window_is_modal

It relies on EWMH concepts. Wayland simply has a MODAL_DIALOG type.
This commit is contained in:
Jasper St. Pierre 2014-03-18 10:57:34 -04:00
parent cdfc6f5b53
commit cdb7947dd1
2 changed files with 0 additions and 18 deletions

View File

@ -9739,23 +9739,6 @@ meta_window_is_remote (MetaWindow *window)
return window->is_remote;
}
/**
* meta_window_is_modal:
* @window: a #MetaWindow
*
* Queries whether the window is in a modal state as described by the
* _NET_WM_STATE protocol.
*
* Return value: (transfer none): TRUE if the window is in modal state.
*/
gboolean
meta_window_is_modal (MetaWindow *window)
{
g_return_val_if_fail (META_IS_WINDOW (window), FALSE);
return window->wm_state_modal;
}
/**
* meta_window_get_mutter_hints:
* @window: a #MetaWindow

View File

@ -211,7 +211,6 @@ guint32 meta_window_get_user_time (MetaWindow *window);
int meta_window_get_pid (MetaWindow *window);
const char *meta_window_get_client_machine (MetaWindow *window);
gboolean meta_window_is_remote (MetaWindow *window);
gboolean meta_window_is_modal (MetaWindow *window);
gboolean meta_window_is_attached_dialog (MetaWindow *window);
const char *meta_window_get_mutter_hints (MetaWindow *window);