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:
Owen W. Taylor 2008-11-07 03:23:39 -05:00
parent 0f73a011ce
commit af8d281556

View File

@ -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)
{ {