forked from AuroraMiddleware/gtk
a11y: Do not leak the ATContext in GtkStackPage
GtkStackPage is not a widget, so it must release the reference on the ATContext it owns.
This commit is contained in:
parent
40c0826921
commit
73b14a3c3a
@ -274,6 +274,8 @@ gtk_stack_page_finalize (GObject *object)
|
||||
g_object_remove_weak_pointer (G_OBJECT (page->last_focus),
|
||||
(gpointer *)&page->last_focus);
|
||||
|
||||
g_clear_object (&page->at_context);
|
||||
|
||||
G_OBJECT_CLASS (gtk_stack_page_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user