Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:STABLE:3.26
gnome-shell
gnome-shell-Unset-clutter-text-instance-on-disp...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-shell-Unset-clutter-text-instance-on-disposal.patch of Package gnome-shell
From 44894262f49b9f8b2809321ebcf1cd9426303fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net> Date: Tue, 29 May 2018 02:28:26 +0300 Subject: [PATCH] st-label: Unset clutter text instance on disposal The instance is owned by the actor (being its child), and thus when the disposal happens for the parent the text is disposed too, thus it's just safer to nullify its reference so that we won't try to access to invalid objects later, and this might be the case since the JS objects could be kept around until they aren't finalized. https://bugzilla.gnome.org/show_bug.cgi?id=788931 --- src/st/st-label.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/st/st-label.c b/src/st/st-label.c index a7893b074..515e34323 100644 --- a/src/st/st-label.c +++ b/src/st/st-label.c @@ -180,6 +180,7 @@ st_label_dispose (GObject *object) { StLabelPrivate *priv = ST_LABEL (object)->priv; + priv->label = NULL; g_clear_pointer (&priv->text_shadow_pipeline, cogl_object_unref); G_OBJECT_CLASS (st_label_parent_class)->dispose (object); -- 2.16.4
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