[evolution] Calendar: Let a GSettings binding mapping function return always TRUE
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Calendar: Let a GSettings binding mapping function return always TRUE
- Date: Fri, 7 May 2021 07:15:18 +0000 (UTC)
commit 57c061344db9346c582fd1077dd9517cf0c6a3fc
Author: Milan Crha <mcrha redhat com>
Date: Fri May 7 09:13:16 2021 +0200
Calendar: Let a GSettings binding mapping function return always TRUE
Not doing so aborts the application, which is not intended here.
src/modules/calendar/e-cal-base-shell-sidebar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/modules/calendar/e-cal-base-shell-sidebar.c b/src/modules/calendar/e-cal-base-shell-sidebar.c
index 0ddc5112d4..978e8c540d 100644
--- a/src/modules/calendar/e-cal-base-shell-sidebar.c
+++ b/src/modules/calendar/e-cal-base-shell-sidebar.c
@@ -74,7 +74,7 @@ cal_base_shell_sidebar_map_uid_to_source (GValue *value,
source = e_source_registry_ref_default_calendar (registry);
g_value_take_object (value, source);
- return (source != NULL);
+ return TRUE;
}
static GVariant *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]