[libgudev] gudev: Add note about props/attrs when action is "remove"



commit 93d034d25c17555079e0566b41bad48526f8754a
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Sep 5 17:16:37 2017 +0200

    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

 gudev/gudevclient.c |    4 ++++
 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]