summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-accessibility.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/eel/eel-accessibility.c b/eel/eel-accessibility.c
index 5e3fd5ad2..635365010 100644
--- a/eel/eel-accessibility.c
+++ b/eel/eel-accessibility.c
@@ -188,8 +188,11 @@ static void
eel_accessibility_destroy (gpointer data,
GObject *where_the_object_was)
{
+ g_object_set_qdata
+ (G_OBJECT (data), get_quark_gobject (), NULL);
atk_object_notify_state_change
- (ATK_OBJECT (data), ATK_STATE_DEFUNCT, TRUE);
+ (ATK_OBJECT (data), ATK_STATE_DEFUNCT, TRUE);
+ g_object_unref (data);
}
/**