summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-09-05 17:16:37 +0200
committerBastien Nocera <hadess@hadess.net>2017-09-05 17:17:28 +0200
commit93d034d25c17555079e0566b41bad48526f8754a (patch)
tree18a8cab8238b1ef8f19c6c0f21b5a64524044c2a
parentfddb4159a6b7f58f072496c0c5e2b0afadc0e328 (diff)
downloadlibgudev-93d034d25c17555079e0566b41bad48526f8754a.tar.gz
gudev: Add note about props/attrs when action is "remove"
This takes the guesswork out of it. https://bugzilla.gnome.org/show_bug.cgi?id=787314
-rw-r--r--gudev/gudevclient.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gudev/gudevclient.c b/gudev/gudevclient.c
index dc5c5d8..4436c46 100644
--- a/gudev/gudevclient.c
+++ b/gudev/gudevclient.c
@@ -287,6 +287,10 @@ g_udev_client_class_init (GUdevClientClass *klass)
*
* Emitted when @client receives an uevent.
*
+ * Note that while you'll have access to all the device's properties and attributes
+ * for the majority of actions, only the sysfs path will be available when the device
+ * is removed.
+ *
* This signal is emitted in the
* <link linkend="g-main-context-push-thread-default">thread-default main loop</link>
* of the thread that @client was created in.