2001-10-25 Matt Wilson <msw@redhat.com>
+ * gtk/gtktextview.c (gtk_text_view_destroy): call
+ gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
+ now invalidates) so that we remove our idle functions.
+ (gtk_text_view_destroy_layout): remove the first_validate_idle as
+ well.
+
* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
the 'indent' property is G_MININT to G_MAXINT. Don't use
-G_MAXINT for the minimum of the 'rise' property, use G_MININT
2001-10-25 Matt Wilson <msw@redhat.com>
+ * gtk/gtktextview.c (gtk_text_view_destroy): call
+ gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
+ now invalidates) so that we remove our idle functions.
+ (gtk_text_view_destroy_layout): remove the first_validate_idle as
+ well.
+
* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
the 'indent' property is G_MININT to G_MAXINT. Don't use
-G_MAXINT for the minimum of the 'rise' property, use G_MININT
2001-10-25 Matt Wilson <msw@redhat.com>
+ * gtk/gtktextview.c (gtk_text_view_destroy): call
+ gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
+ now invalidates) so that we remove our idle functions.
+ (gtk_text_view_destroy_layout): remove the first_validate_idle as
+ well.
+
* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
the 'indent' property is G_MININT to G_MAXINT. Don't use
-G_MAXINT for the minimum of the 'rise' property, use G_MININT
2001-10-25 Matt Wilson <msw@redhat.com>
+ * gtk/gtktextview.c (gtk_text_view_destroy): call
+ gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
+ now invalidates) so that we remove our idle functions.
+ (gtk_text_view_destroy_layout): remove the first_validate_idle as
+ well.
+
* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
the 'indent' property is G_MININT to G_MAXINT. Don't use
-G_MAXINT for the minimum of the 'rise' property, use G_MININT
2001-10-25 Matt Wilson <msw@redhat.com>
+ * gtk/gtktextview.c (gtk_text_view_destroy): call
+ gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
+ now invalidates) so that we remove our idle functions.
+ (gtk_text_view_destroy_layout): remove the first_validate_idle as
+ well.
+
* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
the 'indent' property is G_MININT to G_MAXINT. Don't use
-G_MAXINT for the minimum of the 'rise' property, use G_MININT
2001-10-25 Matt Wilson <msw@redhat.com>
+ * gtk/gtktextview.c (gtk_text_view_destroy): call
+ gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
+ now invalidates) so that we remove our idle functions.
+ (gtk_text_view_destroy_layout): remove the first_validate_idle as
+ well.
+
* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
the 'indent' property is G_MININT to G_MAXINT. Don't use
-G_MAXINT for the minimum of the 'rise' property, use G_MININT
2001-10-25 Matt Wilson <msw@redhat.com>
+ * gtk/gtktextview.c (gtk_text_view_destroy): call
+ gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
+ now invalidates) so that we remove our idle functions.
+ (gtk_text_view_destroy_layout): remove the first_validate_idle as
+ well.
+
* gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
the 'indent' property is G_MININT to G_MAXINT. Don't use
-G_MAXINT for the minimum of the 'rise' property, use G_MININT
layout = text_view->layout;
- gtk_text_view_destroy_layout (text_view);
gtk_text_view_set_buffer (text_view, NULL);
+ gtk_text_view_destroy_layout (text_view);
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
{
GSList *tmp_list;
- if (text_view->incremental_validate_idle)
- {
- g_source_remove (text_view->incremental_validate_idle);
- text_view->incremental_validate_idle = 0;
- }
+ if (text_view->first_validate_idle)
+ {
+ g_source_remove (text_view->first_validate_idle);
+ text_view->first_validate_idle = 0;
+ }
- /* Remove layout from all anchored children */
+ if (text_view->incremental_validate_idle)
+ {
+ g_source_remove (text_view->incremental_validate_idle);
+ text_view->incremental_validate_idle = 0;
+ }
+ /* Remove layout from all anchored children */
tmp_list = text_view->children;
while (tmp_list != NULL)
{