Bug 448484 – GtkAccelGroup forgets to remove closure invalidate notifiers when finalizing

svn path=/trunk/; revision=18181
This commit is contained in:
Gustavo J. A. M. Carneiro 2007-06-18 09:42:27 +00:00
parent fddbefb1a4
commit 7b1c6c9902
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2007-06-18 Gustavo J. A. M. Carneiro <gjc@gnome.org>
reviewed by: Matthias Clasen
* gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
invalidate notifiers. (#448484)
2007-06-17 Matthias Clasen <mclasen@redhat.com>
* README.in: Updates

View File

@ -40,6 +40,8 @@
/* --- prototypes --- */
static void gtk_accel_group_finalize (GObject *object);
static void accel_closure_invalidate (gpointer data,
GClosure *closure);
/* --- variables --- */
@ -134,6 +136,7 @@ gtk_accel_group_finalize (GObject *object)
_gtk_accel_map_remove_group (accel_path, accel_group);
}
g_closure_remove_invalidate_notifier (entry->closure, accel_group, accel_closure_invalidate);
}
g_free (accel_group->priv_accels);