move the remove_listener to finalize instead of destroy, thanks to Jayaraj
2002-06-01 Havoc Pennington <hp@pobox.com> * src/frames.c (meta_frames_finalize): move the remove_listener to finalize instead of destroy, thanks to Jayaraj for tracking down the bug.
This commit is contained in:
parent
d0e109f96c
commit
d5bcea27e3
@ -1,3 +1,9 @@
|
|||||||
|
2002-06-01 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/frames.c (meta_frames_finalize): move the remove_listener
|
||||||
|
to finalize instead of destroy, thanks to Jayaraj for tracking
|
||||||
|
down the bug.
|
||||||
|
|
||||||
2002-06-01 Havoc Pennington <hp@pobox.com>
|
2002-06-01 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/session.c: add some missing \n
|
* src/session.c: add some missing \n
|
||||||
|
@ -206,8 +206,6 @@ meta_frames_destroy (GtkObject *object)
|
|||||||
|
|
||||||
frames = META_FRAMES (object);
|
frames = META_FRAMES (object);
|
||||||
|
|
||||||
meta_prefs_remove_listener (font_changed_callback, frames);
|
|
||||||
|
|
||||||
clear_tip (frames);
|
clear_tip (frames);
|
||||||
|
|
||||||
winlist = NULL;
|
winlist = NULL;
|
||||||
@ -239,6 +237,8 @@ meta_frames_finalize (GObject *object)
|
|||||||
|
|
||||||
frames = META_FRAMES (object);
|
frames = META_FRAMES (object);
|
||||||
|
|
||||||
|
meta_prefs_remove_listener (font_changed_callback, frames);
|
||||||
|
|
||||||
g_hash_table_destroy (frames->text_heights);
|
g_hash_table_destroy (frames->text_heights);
|
||||||
|
|
||||||
g_assert (g_hash_table_size (frames->frames) == 0);
|
g_assert (g_hash_table_size (frames->frames) == 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user