forked from AuroraMiddleware/gtk
Bug 448484 – GtkAccelGroup forgets to remove closure invalidate notifiers when finalizing
svn path=/trunk/; revision=18181
This commit is contained in:
parent
fddbefb1a4
commit
7b1c6c9902
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user