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

svn path=/trunk/; revision=18181
parent fddbefb1
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment