mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
shell-gtk-embed: Fix NULL pointer dereference
Clutter will try to unmap during a dispose if we have a parent, so if we set our own actor to NULL before the chain up, we're going to attempt to unmap our own NULL actor. Fix that by swapping the order in which we chain up. https://bugzilla.gnome.org/show_bug.cgi?id=672790
This commit is contained in:
parent
14d0a96999
commit
f563fb124e
1 changed files with 2 additions and 2 deletions
|
|
@ -223,9 +223,9 @@ shell_gtk_embed_dispose (GObject *object)
|
|||
{
|
||||
ShellGtkEmbed *embed = SHELL_GTK_EMBED (object);
|
||||
|
||||
shell_gtk_embed_set_window (embed, NULL);
|
||||
|
||||
G_OBJECT_CLASS (shell_gtk_embed_parent_class)->dispose (object);
|
||||
|
||||
shell_gtk_embed_set_window (embed, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue