Remove the scroll timeout. (#390872, Yevgen Muntyan)

2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
        scroll timeout.  (#390872, Yevgen Muntyan)



svn path=/trunk/; revision=16993
This commit is contained in:
Matthias Clasen 2006-12-31 06:00:08 +00:00 committed by Matthias Clasen
parent 7979cd6ac7
commit ea72820911
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,17 @@
2006-12-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy): Remove the
scroll timeout. (#390872, Yevgen Muntyan)
2006-12-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintbackend.c:
* gtk/gtkfilechooserdefault.c:
* gtk/gtksettings.c: Move a few settings to gtksettings.c
to make sure they show up in the docs. (#365364, Christian
Persch)
2006-12-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkassistant.c: Redraw assistant on reallocate

View File

@ -2552,6 +2552,12 @@ gtk_text_view_destroy (GtkObject *object)
gtk_text_view_set_buffer (text_view, NULL);
gtk_text_view_destroy_layout (text_view);
if (text_view->scroll_timeout)
{
g_source_remove (text_view->scroll_timeout);
text_view->scroll_timeout = 0;
}
(* GTK_OBJECT_CLASS (gtk_text_view_parent_class)->destroy) (object);
}