]> Pileus Git - ~andy/gtk/commit
disconnect layout handlers earlier in the function, to avoid possible
authorHavoc Pennington <hp@pobox.com>
Sat, 23 Mar 2002 17:35:09 +0000 (17:35 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Sat, 23 Mar 2002 17:35:09 +0000 (17:35 +0000)
commite00f842a5b0fbea7ab12fe9470926b8e4d146f08
treec2f371681ec0576509e7b10266dd47df1b71c6fb
parent8d3df4d9a1bea9b3893940fb225e815cabd42d09
disconnect layout handlers earlier in the function, to avoid possible

2002-03-23  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_destroy_layout): disconnect
layout handlers earlier in the function, to avoid possible
reentrancy screwups
(gtk_text_view_invalidate): Don't install idle handlers if
layout == NULL, otherwise we get problems during finalization
since clearing the buffer invalidates and puts the idle handlers
back after we destroy the layout. #74660
(gtk_text_view_ensure_layout): Install the validation handlers
right after creating the layout.

* gtk/gtktexttagtable.c (foreach_unref): call
_gtk_text_buffer_notify_will_remove_tag(), #75126
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktexttagtable.c
gtk/gtktextview.c