File gnome-shell-fix-missing-return.patch of Package gnome-shell.openSUSE_Leap_42.3_Update

From 890a1f112b62d95678f765f71013ee4c2c68ab88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Mon, 25 Jul 2016 18:46:59 +0200
Subject: calendar-server: Add back missing return value

In commit 7e0e224e0, when moving from e_cal_recur_generate_instances()
to e_cal_client_generate_instances(), the return value of the
ECalRecurInstanceFn callback was accidentally removed; add it
back.

https://bugzilla.gnome.org/show_bug.cgi?id=769156
---
 src/calendar-server/gnome-shell-calendar-server.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/calendar-server/gnome-shell-calendar-server.c b/src/calendar-server/gnome-shell-calendar-server.c
index 5ff12f2..57bc71b 100644
--- a/src/calendar-server/gnome-shell-calendar-server.c
+++ b/src/calendar-server/gnome-shell-calendar-server.c
@@ -443,6 +443,8 @@ generate_instances_cb (ECalComponent *comp,
   occurrence->rid        = e_cal_component_get_recurid_as_string (comp);
 
   appointment->occurrences = g_slist_append (appointment->occurrences, occurrence);
+
+  return TRUE;
 }
 
 
-- 
cgit v0.12
openSUSE Build Service is sponsored by