[gtk/wip/matthiasc/popup5: 60/150] docs: Remove references to gdk_device_grab
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 60/150] docs: Remove references to gdk_device_grab
- Date: Fri, 24 May 2019 02:03:14 +0000 (UTC)
commit 59bd653b4a415420e7b0c35f9656dd23ba0811fc
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Apr 19 19:15:26 2019 -0400
docs: Remove references to gdk_device_grab
It is no longer public api, refer to gdk_seat_grab instead.
gdk/gdkdevice.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 8e99f2e6c2..b352a84411 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -510,7 +510,7 @@ gdk_device_get_property (GObject *object,
* Gets the current state of a pointer device relative to @surface. As a slave
* device’s coordinates are those of its master pointer, this
* function may not be called on devices of type %GDK_DEVICE_TYPE_SLAVE,
- * unless there is an ongoing grab on them. See gdk_device_grab().
+ * unless there is an ongoing grab on them. See gdk_seat_grab().
*/
void
gdk_device_get_state (GdkDevice *device,
@@ -537,7 +537,7 @@ gdk_device_get_state (GdkDevice *device,
* Gets the current location of @device in double precision. As a slave device's
* coordinates are those of its master pointer, this function
* may not be called on devices of type %GDK_DEVICE_TYPE_SLAVE,
- * unless there is an ongoing grab on them. See gdk_device_grab().
+ * unless there is an ongoing grab on them. See gdk_seat_grab().
**/
void
gdk_device_get_position (GdkDevice *device,
@@ -581,7 +581,7 @@ gdk_device_get_position (GdkDevice *device,
*
* As a slave device coordinates are those of its master pointer, This
* function may not be called on devices of type %GDK_DEVICE_TYPE_SLAVE,
- * unless there is an ongoing grab on them, see gdk_device_grab().
+ * unless there is an ongoing grab on them, see gdk_seat_grab().
*
* Returns: (nullable) (transfer none): the #GdkSurface under the
* device position, or %NULL.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]