Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public

This exposes the base so that we can reimplement StClipboard on top. Some
gtk-docs have been added for documentation and introspection purposes.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/320
This commit is contained in:
Carlos Garnacho
2018-11-23 11:48:53 +01:00
parent 17d00d49d4
commit 02c99524bf
18 changed files with 122 additions and 19 deletions

View File

@ -3689,6 +3689,12 @@ meta_display_get_sound_player (MetaDisplay *display)
return display->sound_player;
}
/**
* meta_display_get_selection:
* @display: a #MetaDisplay
*
* Returns: (transfer none): The selection manager of the display
*/
MetaSelection *
meta_display_get_selection (MetaDisplay *display)
{