summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-09-05 17:15:37 +0200
committerBastien Nocera <hadess@hadess.net>2017-09-05 17:17:28 +0200
commitfddb4159a6b7f58f072496c0c5e2b0afadc0e328 (patch)
treef5da69ec6b49bbb5db1391a05f20758c7a841ca2
parent58eb745d8c4fb06b35706c2c997313235dccb1fc (diff)
downloadlibgudev-fddb4159a6b7f58f072496c0c5e2b0afadc0e328.tar.gz
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
-rw-r--r--gudev/gudevclient.c3
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.