Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
gnome-calendar.18044
gnome-calendar-check-for-null-child.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-calendar-check-for-null-child.patch of Package gnome-calendar.18044
From af5faf688bfbefb9bbebaf63d221bb00656b2247 Mon Sep 17 00:00:00 2001 From: Jonathan Kang <jonathankang@gnome.org> Date: Fri, 18 Aug 2023 15:00:32 +0800 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 00a0b4f6..7cd84b93 100644 --- a/src/gui/views/gcal-week-header.c +++ b/src/gui/views/gcal-week-header.c @@ -769,6 +769,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_hide (child); } -- 2.40.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor