gdk: mark gdk_device_get_device_tool as nullable
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Wed, 9 Feb 2022 13:09:47 +0000 (13:09 +0000)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Wed, 9 Feb 2022 13:09:47 +0000 (13:09 +0000)
gdk/gdkdevice.c

index 0c8973f46001205ff2b36240565fe6fef3795fbf..541bdda939f1519ad5be5dc401c546465a1d859b 100644 (file)
@@ -1242,7 +1242,7 @@ gdk_device_get_num_touches (GdkDevice *device)
  *
  * Retrieves the current tool for @device.
  *
- * Returns: (transfer none): the `GdkDeviceTool`
+ * Returns: (transfer none) (nullable): the `GdkDeviceTool`
  */
 GdkDeviceTool *
 gdk_device_get_device_tool (GdkDevice *device)