[gtk+/xi2] GdkDeviceManager: improve gdk_device_manager_get_devices() API docs.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2] GdkDeviceManager: improve gdk_device_manager_get_devices() API docs.
- Date: Fri, 27 Nov 2009 15:03:47 +0000 (UTC)
commit cb6b089e7c02ee0c1ab5efdb57e0c54ce03e3360
Author: Carlos Garnacho <carlos gnome org>
Date: Fri Nov 27 01:50:01 2009 +0100
GdkDeviceManager: improve gdk_device_manager_get_devices() API docs.
Return value should also mention what (not) to do with GList elements. Spotted
by Matthias Clasen.
gdk/gdkdevicemanager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkdevicemanager.c b/gdk/gdkdevicemanager.c
index 0f901fc..0194100 100644
--- a/gdk/gdkdevicemanager.c
+++ b/gdk/gdkdevicemanager.c
@@ -215,7 +215,8 @@ gdk_device_manager_get_display (GdkDeviceManager *device_manager)
* @device_manager.
*
* Returns: a list of #GdkDevice<!-- -->s. The returned list must be
- * freed with g_list_free ().
+ * freed with g_list_free (). The list elements are owned by
+ * GTK+ and must not be freed or unreffed.
**/
GList *
gdk_device_manager_get_devices (GdkDeviceManager *device_manager,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]