forked from AuroraMiddleware/gtk
call gtk_size_group_queue_resize to avoid invalidating the widget every
2002-02-22 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (changed_handler): call gtk_size_group_queue_resize to avoid invalidating the widget every time its requisition changes. Instead we use the btree invalid lines to know what to redraw. Fixes #71429
This commit is contained in:
parent
fb291194e1
commit
a07ef43710
@ -1,3 +1,10 @@
|
||||
2002-02-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (changed_handler): call
|
||||
gtk_size_group_queue_resize to avoid invalidating the widget every
|
||||
time its requisition changes. Instead we use the btree invalid
|
||||
lines to know what to redraw. Fixes #71429
|
||||
|
||||
Fri Feb 22 14:08:38 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (changed_handler): call
|
||||
gtk_size_group_queue_resize to avoid invalidating the widget every
|
||||
time its requisition changes. Instead we use the btree invalid
|
||||
lines to know what to redraw. Fixes #71429
|
||||
|
||||
Fri Feb 22 14:08:38 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (changed_handler): call
|
||||
gtk_size_group_queue_resize to avoid invalidating the widget every
|
||||
time its requisition changes. Instead we use the btree invalid
|
||||
lines to know what to redraw. Fixes #71429
|
||||
|
||||
Fri Feb 22 14:08:38 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (changed_handler): call
|
||||
gtk_size_group_queue_resize to avoid invalidating the widget every
|
||||
time its requisition changes. Instead we use the btree invalid
|
||||
lines to know what to redraw. Fixes #71429
|
||||
|
||||
Fri Feb 22 14:08:38 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (changed_handler): call
|
||||
gtk_size_group_queue_resize to avoid invalidating the widget every
|
||||
time its requisition changes. Instead we use the btree invalid
|
||||
lines to know what to redraw. Fixes #71429
|
||||
|
||||
Fri Feb 22 14:08:38 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (changed_handler): call
|
||||
gtk_size_group_queue_resize to avoid invalidating the widget every
|
||||
time its requisition changes. Instead we use the btree invalid
|
||||
lines to know what to redraw. Fixes #71429
|
||||
|
||||
Fri Feb 22 14:08:38 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (changed_handler): call
|
||||
gtk_size_group_queue_resize to avoid invalidating the widget every
|
||||
time its requisition changes. Instead we use the btree invalid
|
||||
lines to know what to redraw. Fixes #71429
|
||||
|
||||
Fri Feb 22 14:08:38 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
|
||||
|
@ -3240,7 +3240,10 @@ changed_handler (GtkTextLayout *layout,
|
||||
|
||||
if (old_req.width != new_req.width ||
|
||||
old_req.height != new_req.height)
|
||||
gtk_widget_queue_resize (widget);
|
||||
{
|
||||
/* FIXME http://bugzilla.gnome.org/show_bug.cgi?id=72258 */
|
||||
_gtk_size_group_queue_resize (widget);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user