summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2012-01-11 23:42:22 -0800
committerMartin Pitt <martin.pitt@ubuntu.com>2012-01-12 09:06:43 +0100
commita5f834204f375519b178f98770f8cfd9668a4603 (patch)
treeec23bf16939b54f26478434ee0538635b8b9bd1d /src
parent1305ffe0456cc016a78c1fc7ca17645cfef39778 (diff)
gudev: several minor introspection fixes
- Include exported package information - Include C include information - g_udev_device_get_parent & g_udev_device_get_parent_with_subsystem transfer ownership of their return values Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'src')
-rw-r--r--src/extras/gudev/gudevdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extras/gudev/gudevdevice.c b/src/extras/gudev/gudevdevice.c
index 0c3340ffeb..62a26f99b7 100644
--- a/src/extras/gudev/gudevdevice.c
+++ b/src/extras/gudev/gudevdevice.c
@@ -373,7 +373,7 @@ g_udev_device_get_device_file_symlinks (GUdevDevice *device)
*
* Gets the immediate parent of @device, if any.
*
- * Returns: A #GUdevDevice or %NULL if @device has no parent. Free with g_object_unref().
+ * Returns: (transfer full): A #GUdevDevice or %NULL if @device has no parent. Free with g_object_unref().
*/
GUdevDevice *
g_udev_device_get_parent (GUdevDevice *device)
@@ -404,7 +404,7 @@ g_udev_device_get_parent (GUdevDevice *device)
* Walks up the chain of parents of @device and returns the first
* device encountered where @subsystem and @devtype matches, if any.
*
- * Returns: A #GUdevDevice or %NULL if @device has no parent with @subsystem and @devtype. Free with g_object_unref().
+ * Returns: (transfer full): A #GUdevDevice or %NULL if @device has no parent with @subsystem and @devtype. Free with g_object_unref().
*/
GUdevDevice *
g_udev_device_get_parent_with_subsystem (GUdevDevice *device,