Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-calendar for openSUSE:Factory 
checked in at 2023-08-21 11:46:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-calendar (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-calendar.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-calendar"

Mon Aug 21 11:46:03 2023 rev:49 rq:1105002 version:44.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-calendar/gnome-calendar.changes    
2023-04-24 22:31:39.771670994 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-calendar.new.1766/gnome-calendar.changes  
2023-08-21 11:46:18.107771634 +0200
@@ -1,0 +2,7 @@
+Fri Aug 18 06:35:37 UTC 2023 - Jonathan Kang <[email protected]>
+
+- Add gnome-calendar-check-for-null-child.patch: views/week-header:
+  Check for NULL child(glgo#GNOME/gnome-calendar/commit/b9d4405e6,
+  bsc#1214188).
+
+-------------------------------------------------------------------

New:
----
  gnome-calendar-check-for-null-child.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-calendar.spec ++++++
--- /var/tmp/diff_new_pack.K7h1jw/_old  2023-08-21 11:46:18.787772937 +0200
+++ /var/tmp/diff_new_pack.K7h1jw/_new  2023-08-21 11:46:18.795772952 +0200
@@ -24,6 +24,8 @@
 Group:          Productivity/Office/Organizers
 URL:            https://wiki.gnome.org/Design/Apps/Calendar
 Source0:        
https://download.gnome.org/sources/gnome-calendar/44/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM gnome-calendar-check-for-null-child.patch 
glgo#GNOME/gnome-calendar/commit/b9d4405e6 bsc#1214188 [email protected] -- 
views/week-header: Check for NULL child
+Patch0:         gnome-calendar-check-for-null-child.patch
 
 BuildRequires:  fdupes
 BuildRequires:  meson

++++++ gnome-calendar-check-for-null-child.patch ++++++
>From b9d4405e69dc6c69112a5546aea1c8d709336bac Mon Sep 17 00:00:00 2001
From: Georges Basile Stavracas Neto <[email protected]>
Date: Fri, 4 Aug 2023 21:41:08 -0300
Subject: [PATCH] views/week-header: Check for NULL child

I'm not sure if this is actually correct, but I'm too tired to
think the week header through, so let's just be slightly more
protective for now.
---
 src/gui/views/gcal-week-header.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gui/views/gcal-week-header.c b/src/gui/views/gcal-week-header.c
index a652618b..b1509cc7 100644
--- a/src/gui/views/gcal-week-header.c
+++ b/src/gui/views/gcal-week-header.c
@@ -764,6 +764,9 @@ apply_overflow_at_weekday (GcalWeekHeader *self,
 
   child = gtk_grid_get_child_at (self->grid, weekday, 3);
 
+  if (!child)
+    return;
+
   split_event_widget_at_column (self, child, weekday);
   gtk_widget_set_visible (child, FALSE);
 }
-- 
2.40.0

Reply via email to