display: Make meta_display_get_workspace_manager() introspectable

So that it can be reached from Javascript.

https://bugzilla.gnome.org/show_bug.cgi?id=759538
This commit is contained in:
Jonas Ådahl 2018-01-03 13:09:41 +08:00
parent 5b8c8a4114
commit 0ca3526627

View File

@ -3606,6 +3606,12 @@ meta_display_focus_default_window (MetaDisplay *display,
timestamp); timestamp);
} }
/**
* meta_display_get_workspace_manager:
* @display: a #MetaDisplay
*
* Returns: (transfer none) The workspace manager of the display
*/
MetaWorkspaceManager * MetaWorkspaceManager *
meta_display_get_workspace_manager (MetaDisplay *display) meta_display_get_workspace_manager (MetaDisplay *display)
{ {