[libgudev] gudev: Update list of possible actions
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgudev] gudev: Update list of possible actions
- Date: Thu, 7 Sep 2017 11:48:44 +0000 (UTC)
commit fddb4159a6b7f58f072496c0c5e2b0afadc0e328
Author: Bastien Nocera <hadess hadess net>
Date: Tue Sep 5 17:15:37 2017 +0200
gudev: Update list of possible actions
Add "online" and "offline" actions as per:
src/libsystemd/sd-device/device-private.c
in the systemd repository
https://bugzilla.gnome.org/show_bug.cgi?id=787314
gudev/gudevclient.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gudev/gudevclient.c b/gudev/gudevclient.c
index 39a8040..dc5c5d8 100644
--- a/gudev/gudevclient.c
+++ b/gudev/gudevclient.c
@@ -281,7 +281,8 @@ g_udev_client_class_init (GUdevClientClass *klass)
/**
* GUdevClient::uevent:
* @client: The #GUdevClient receiving the event.
- * @action: The action for the uevent e.g. "add", "remove", "change", "move", etc.
+ * @action: The action for the uevent e.g. "add", "remove", "change", "move",
+ * "online" or "offline"
* @device: Details about the #GUdevDevice the event is for.
*
* Emitted when @client receives an uevent.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]