]> Pileus Git - ~andy/gtk/commit
textview: do not destroy the layout in unrealize
authorIgnacio Casal Quinteiro <icq@gnome.org>
Sun, 12 Jun 2011 15:52:23 +0000 (17:52 +0200)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Sun, 12 Jun 2011 15:54:07 +0000 (17:54 +0200)
commit391917063eec9571917e3a3e770a56a6e7253822
tree17a22e11bbafe12062b9f6fd9c4074f7e70f9f22
parentdeed7175ca81f2ee3d57c88a525c3be403055079
textview: do not destroy the layout in unrealize

Now instead of invalidating when we create the layout we invalidate
when we realize the widget and we remove the invalidation when
unrealizing. It was pointless too destroying the layout in unrealize
as at the end what we just wanted was to remove the invalidation idles.
gtk/gtktextview.c