[libgudev/wip/hadess/fix-sysfs-attr: 1/4] gudev: Revert changes to g_udev_device_get_property_as_boolean()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgudev/wip/hadess/fix-sysfs-attr: 1/4] gudev: Revert changes to g_udev_device_get_property_as_boolean()
- Date: Tue, 16 Mar 2021 11:10:29 +0000 (UTC)
commit 1fe85f8e9d9ed96d40433c3d93ac2d8c42b094b0
Author: Bastien Nocera <hadess hadess net>
Date: Tue Mar 16 11:55:32 2021 +0100
gudev: Revert changes to g_udev_device_get_property_as_boolean()
We weren't supposed to change the strings recognised as booleans, which
we only documented and didn't actually implement.
gudev/gudevdevice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gudev/gudevdevice.c b/gudev/gudevdevice.c
index 27ffc52..9135a38 100644
--- a/gudev/gudevdevice.c
+++ b/gudev/gudevdevice.c
@@ -613,7 +613,7 @@ out:
*
* Look up the value for @key on @device and convert it to an
* boolean. This is done by doing a case-insensitive string comparison
- * on the string value against "1", "true", "Y" and "y".
+ * on the string value against "1" and "true".
*
* Returns: The value for @key or %FALSE if @key doesn't exist or
* isn't a #gboolean.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]