summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-13 22:14:47 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-13 22:14:47 +0000
commit1d4c37cd2d59073ec0faa2029e1cd3ffdaedc9da (patch)
tree368e56192436492d1c2a2d4bc41adb9843b49faa /gtk/gtkaccelgroup.c
parent5ebe8faab2c02715bbc13412206aa00c1772b16c (diff)
downloadgdk-pixbuf-1d4c37cd2d59073ec0faa2029e1cd3ffdaedc9da.tar.gz
Unset the acceleratable_groups qdata because qdata isn't removed on
Wed Mar 13 17:11:10 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelgroup.c (accel_group_weak_ref_detach): Unset the acceleratable_groups qdata because qdata isn't removed on ->dispose but rather on ->finalize. (#74569, found by Matt Wilson.)
Diffstat (limited to 'gtk/gtkaccelgroup.c')
-rw-r--r--gtk/gtkaccelgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index e244fdb9c..0cfa9e685 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -190,6 +190,7 @@ accel_group_weak_ref_detach (GSList *free_list,
g_object_unref (accel_group);
}
g_slist_free (free_list);
+ g_object_set_qdata (stale_object, quark_acceleratable_groups, NULL);
}
void