[gtk+] Document some Wayland apis



commit 41f8ad5384681b837544616676a68c64d5580904
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 17 01:16:13 2013 -0400

    Document some Wayland apis

 gdk/wayland/gdkdevice-wayland.c |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 2cc2c74..68bfcac 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -400,6 +400,16 @@ gdk_wayland_device_init (GdkWaylandDevice *device_core)
   _gdk_device_add_axis (device, GDK_NONE, GDK_AXIS_Y, 0, 0, 1);
 }
 
+/**
+ * gdk_wayland_device_get_wl_seat:
+ * @device: (type GdkWaylandDevice): a #GdkDevice
+ *
+ * Returns the Wayland wl_seat of a #GdkDevice
+ *
+ * Returns: (transfer none): a Wayland wl_seat
+ *
+ * Since: 3.10
+ */
 struct wl_seat *
 gdk_wayland_device_get_wl_seat (GdkDevice *device)
 {
@@ -408,6 +418,16 @@ gdk_wayland_device_get_wl_seat (GdkDevice *device)
   return GDK_WAYLAND_DEVICE (device)->device->wl_seat;
 }
 
+/**
+ * gdk_wayland_device_get_wl_pointer:
+ * @device: (type GdkWaylandDevice): a #GdkDevice
+ *
+ * Returns the Wayland wl_pointer of a #GdkDevice
+ *
+ * Returns: (transfer none): a Wayland wl_pointer
+ *
+ * Since: 3.10
+ */
 struct wl_pointer *
 gdk_wayland_device_get_wl_pointer (GdkDevice *device)
 {
@@ -416,7 +436,16 @@ gdk_wayland_device_get_wl_pointer (GdkDevice *device)
   return GDK_WAYLAND_DEVICE (device)->device->wl_pointer;
 }
 
-
+/**
+ * gdk_wayland_device_get_wl_keyboard:
+ * @device: (type GdkWaylandDevice): a #GdkDevice
+ *
+ * Returns the Wayland wl_keyboard of a #GdkDevice
+ *
+ * Returns: (transfer none): a Wayland wl_keyboard
+ *
+ * Since: 3.10
+ */
 struct wl_keyboard *
 gdk_wayland_device_get_wl_keyboard (GdkDevice *device)
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]