mirror of
https://github.com/brl/mutter.git
synced 2025-03-28 06:03:47 +00:00
workspace-manager: get_workspace_by_index can return NULL
https://gitlab.gnome.org/GNOME/mutter/merge_requests/941
This commit is contained in:
parent
f4bf48a7d7
commit
4cccba5cac
@ -294,8 +294,8 @@ meta_workspace_manager_get_n_workspaces (MetaWorkspaceManager *workspace_manager
|
|||||||
* index. It's valid to call this function with an out-of-range index and it
|
* index. It's valid to call this function with an out-of-range index and it
|
||||||
* will robustly return %NULL.
|
* will robustly return %NULL.
|
||||||
*
|
*
|
||||||
* Return value: (transfer none): the workspace object with specified index, or %NULL
|
* Return value: (transfer none) (nullable): the workspace object with specified
|
||||||
* if the index is out of range.
|
* index, or %NULL if the index is out of range.
|
||||||
*/
|
*/
|
||||||
MetaWorkspace *
|
MetaWorkspace *
|
||||||
meta_workspace_manager_get_workspace_by_index (MetaWorkspaceManager *workspace_manager,
|
meta_workspace_manager_get_workspace_by_index (MetaWorkspaceManager *workspace_manager,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user