mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
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:
parent
10f47690ea
commit
b6ba7a5f04
@ -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 ==
|
||||
|
@ -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 ==
|
||||
|
@ -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 ==
|
||||
|
@ -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 ==
|
||||
|
@ -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 ==
|
||||
|
@ -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 ==
|
||||
|
@ -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 ==
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user