wayland: Add API version annotations

Version numbers have been derived from source code comment blocks.
This commit is contained in:
Chris Cummins 2013-05-07 11:50:32 +01:00
parent 55ec9f57db
commit 6e6e69c84d
2 changed files with 7 additions and 0 deletions

View File

@ -271,6 +271,8 @@ clutter_wayland_stage_get_wl_shell_surface (ClutterStage *stage)
* platform. Calling this function at any other time will return %NULL.
*
* Returns: (transfer none): the Wayland surface associated with @stage
*
* Since: 1.10
*/
struct wl_surface *
clutter_wayland_stage_get_wl_surface (ClutterStage *stage)

View File

@ -40,8 +40,13 @@
#include <clutter/clutter.h>
G_BEGIN_DECLS
CLUTTER_AVAILABLE_IN_1_10
struct wl_seat *clutter_wayland_input_device_get_wl_seat (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_10
struct wl_shell_surface *clutter_wayland_stage_get_wl_shell_surface (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_1_10
struct wl_surface *clutter_wayland_stage_get_wl_surface (ClutterStage *stage);
G_END_DECLS