mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
Add a few doc comments with annotations
Add (transfer none) annotations to mutter_window_get_texture() and mutter_window_get_meta_window(), and while add doc comments, actually add some docs as well.
This commit is contained in:
parent
0f73a011ce
commit
af8d281556
@ -645,12 +645,26 @@ mutter_window_get_x_window (MutterWindow *mcw)
|
|||||||
return mcw->priv->xwindow;
|
return mcw->priv->xwindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* mutter_window_get_meta_window:
|
||||||
|
*
|
||||||
|
* Gets the MetaWindow object that the the MutterWindow is displaying
|
||||||
|
*
|
||||||
|
* Return value: (transfer none): the displayed MetaWindow
|
||||||
|
*/
|
||||||
MetaWindow *
|
MetaWindow *
|
||||||
mutter_window_get_meta_window (MutterWindow *mcw)
|
mutter_window_get_meta_window (MutterWindow *mcw)
|
||||||
{
|
{
|
||||||
return mcw->priv->window;
|
return mcw->priv->window;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* mutter_window_get_texture:
|
||||||
|
*
|
||||||
|
* Gets the ClutterActor that is used to display the contents of the window
|
||||||
|
*
|
||||||
|
* Return value: (transfer none): the ClutterActor for the contents
|
||||||
|
*/
|
||||||
ClutterActor *
|
ClutterActor *
|
||||||
mutter_window_get_texture (MutterWindow *mcw)
|
mutter_window_get_texture (MutterWindow *mcw)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user