From af8d2815568ad2ad69e0e4e9c5a5e7a8478c93d7 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 7 Nov 2008 03:23:39 -0500 Subject: [PATCH] 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. --- src/compositor/mutter/compositor-mutter.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/compositor/mutter/compositor-mutter.c b/src/compositor/mutter/compositor-mutter.c index cc578f7e8..9045f5cfb 100644 --- a/src/compositor/mutter/compositor-mutter.c +++ b/src/compositor/mutter/compositor-mutter.c @@ -645,12 +645,26 @@ mutter_window_get_x_window (MutterWindow *mcw) 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 * mutter_window_get_meta_window (MutterWindow *mcw) { 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 * mutter_window_get_texture (MutterWindow *mcw) {