evolution-ews: fix patch compiler errors
/build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:211:13: error: 'true' undeclared (first use in this function)
211 | if (true) {
| ^~~~
/build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:15:1: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
14 | #include "e-ews-common-utils.h"
+++ |+#include <stdbool.h>
15 |
/build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:211:13: note: each undeclared identifier is reported only once for each function it appears in
211 | if (true) {
| ^~~~
This commit is contained in:
@@ -7,7 +7,7 @@ index 32817df..da65217 100644
|
||||
|
||||
/* cannot save, when evolution is not installed */
|
||||
- if (!e_ews_common_utils_gsettings_schema_exists ("org.gnome.evolution.mail"))
|
||||
+ if (!true)
|
||||
+ if (!TRUE)
|
||||
return FALSE;
|
||||
|
||||
if (!old_categories || !new_categories)
|
||||
@@ -40,7 +40,7 @@ index 7374c36..7da2023 100644
|
||||
|
||||
/* cannot save, when evolution is not installed */
|
||||
- if (!e_ews_common_utils_gsettings_schema_exists ("org.gnome.evolution.mail"))
|
||||
+ if (!true)
|
||||
+ if (!TRUE)
|
||||
return FALSE;
|
||||
|
||||
if (!old_categories || !new_categories)
|
||||
@@ -73,7 +73,7 @@ index cec5417..2e744a0 100644
|
||||
ICalTimezone *zone = NULL;
|
||||
|
||||
- if (e_ews_common_utils_gsettings_schema_exists ("org.gnome.evolution.calendar")) {
|
||||
+ if (true) {
|
||||
+ if (TRUE) {
|
||||
GSettings *settings;
|
||||
|
||||
- settings = g_settings_new ("org.gnome.evolution.calendar");
|
||||
@@ -101,7 +101,7 @@ index 3458c10..7d21784 100644
|
||||
gchar *location = NULL;
|
||||
|
||||
- if (e_ews_common_utils_gsettings_schema_exists ("org.gnome.evolution.calendar")) {
|
||||
+ if (true) {
|
||||
+ if (TRUE) {
|
||||
GSettings *settings;
|
||||
|
||||
- settings = g_settings_new ("org.gnome.evolution.calendar");
|
||||
|
||||
Reference in New Issue
Block a user