-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgdm-bool.patch
More file actions
34 lines (32 loc) · 1.78 KB
/
gdm-bool.patch
File metadata and controls
34 lines (32 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- gdm-48.0/common/gdm-settings-utils.h.orig 2025-03-17 17:07:15.000000000 +0100
+++ gdm-48.0/common/gdm-settings-utils.h 2026-05-25 17:59:38.797481677 +0200
@@ -44,7 +44,7 @@ gboolean gdm_settings_p
GSList **list);
gboolean gdm_settings_parse_value_as_boolean (const char *value,
- gboolean *bool);
+ gboolean *bool_);
gboolean gdm_settings_parse_value_as_integer (const char *value,
int *intval);
gboolean gdm_settings_parse_value_as_double (const char *value,
--- gdm-48.0/common/gdm-settings-utils.c.orig 2025-03-17 17:07:15.000000000 +0100
+++ gdm-48.0/common/gdm-settings-utils.c 2026-05-25 17:59:55.300839369 +0200
@@ -287,16 +287,16 @@ gdm_settings_parse_boolean_as_value (gb
/* adapted from GKeyFile */
gboolean
gdm_settings_parse_value_as_boolean (const char *value,
- gboolean *bool)
+ gboolean *bool_)
{
g_return_val_if_fail (value != NULL, FALSE);
- g_return_val_if_fail (bool != NULL, FALSE);
+ g_return_val_if_fail (bool_ != NULL, FALSE);
if (g_ascii_strcasecmp (value, "true") == 0 || strcmp (value, "1") == 0) {
- *bool = TRUE;
+ *bool_ = TRUE;
return TRUE;
} else if (g_ascii_strcasecmp (value, "false") == 0 || strcmp (value, "0") == 0) {
- *bool = FALSE;
+ *bool_ = FALSE;
return TRUE;
} else {
return FALSE;