mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
a11y: Unrealize ATContext on dispose
This commit is contained in:
parent
828a067b2b
commit
ae9758b964
@ -79,6 +79,16 @@ gtk_at_context_finalize (GObject *gobject)
|
||||
G_OBJECT_CLASS (gtk_at_context_parent_class)->finalize (gobject);
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_at_context_dispose (GObject *gobject)
|
||||
{
|
||||
GtkATContext *self = GTK_AT_CONTEXT (gobject);
|
||||
|
||||
gtk_at_context_unrealize (self);
|
||||
|
||||
G_OBJECT_CLASS (gtk_at_context_parent_class)->dispose (gobject);
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_at_context_set_property (GObject *gobject,
|
||||
guint prop_id,
|
||||
@ -182,6 +192,7 @@ gtk_at_context_class_init (GtkATContextClass *klass)
|
||||
|
||||
gobject_class->set_property = gtk_at_context_set_property;
|
||||
gobject_class->get_property = gtk_at_context_get_property;
|
||||
gobject_class->dispose = gtk_at_context_dispose;
|
||||
gobject_class->finalize = gtk_at_context_finalize;
|
||||
|
||||
klass->realize = gtk_at_context_real_realize;
|
||||
|
Loading…
Reference in New Issue
Block a user