queue a resize here; will temporarily slow down the widget a lot, until we

2001-10-23  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextview.c (changed_handler): queue a resize here; will
	temporarily slow down the widget a lot, until we figure out how to
	optimize to avoid full redraw everytime we queue a resize
This commit is contained in:
Havoc Pennington 2001-10-23 20:13:44 +00:00 committed by Havoc Pennington
parent 10f47690ea
commit b6ba7a5f04
8 changed files with 45 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (changed_handler): queue a resize here; will
temporarily slow down the widget a lot, until we figure out how to
optimize to avoid full redraw everytime we queue a resize
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==

View File

@ -1,3 +1,9 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (changed_handler): queue a resize here; will
temporarily slow down the widget a lot, until we figure out how to
optimize to avoid full redraw everytime we queue a resize
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==

View File

@ -1,3 +1,9 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (changed_handler): queue a resize here; will
temporarily slow down the widget a lot, until we figure out how to
optimize to avoid full redraw everytime we queue a resize
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==

View File

@ -1,3 +1,9 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (changed_handler): queue a resize here; will
temporarily slow down the widget a lot, until we figure out how to
optimize to avoid full redraw everytime we queue a resize
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==

View File

@ -1,3 +1,9 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (changed_handler): queue a resize here; will
temporarily slow down the widget a lot, until we figure out how to
optimize to avoid full redraw everytime we queue a resize
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==

View File

@ -1,3 +1,9 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (changed_handler): queue a resize here; will
temporarily slow down the widget a lot, until we figure out how to
optimize to avoid full redraw everytime we queue a resize
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==

View File

@ -1,3 +1,9 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (changed_handler): queue a resize here; will
temporarily slow down the widget a lot, until we figure out how to
optimize to avoid full redraw everytime we queue a resize
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==

View File

@ -2831,7 +2831,7 @@ changed_handler (GtkTextLayout *layout,
GtkWidget *widget;
GdkRectangle visible_rect;
GdkRectangle redraw_rect;
text_view = GTK_TEXT_VIEW (data);
widget = GTK_WIDGET (data);
@ -2905,6 +2905,8 @@ changed_handler (GtkTextLayout *layout,
tmp_list = g_slist_next (tmp_list);
}
}
gtk_widget_queue_resize (widget);
}
static void