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=/branches/gtk-2-10/; revision=16994
This commit is contained in:
Matthias Clasen
2006-12-31 06:02:34 +00:00
committed by Matthias Clasen
parent 69ee164fee
commit b423e964ea
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

@@ -2538,6 +2538,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);
}