forked from AuroraMiddleware/gtk
Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,
2006-03-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextview.c (gtk_text_view_value_changed): Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717, Nicolas Setton)
This commit is contained in:
parent
adebf25717
commit
7381f806dc
@ -1,3 +1,9 @@
|
||||
2006-03-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
|
||||
gdk_window_invalidate_rect() on unrealized widgets. (#335717,
|
||||
Nicolas Setton)
|
||||
|
||||
Fri Mar 24 14:53:20 2006 Tim Janik <timj@imendio.com>
|
||||
|
||||
* gtk/gtktreemodel.h:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2006-03-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
|
||||
gdk_window_invalidate_rect() on unrealized widgets. (#335717,
|
||||
Nicolas Setton)
|
||||
|
||||
Fri Mar 24 14:53:20 2006 Tim Janik <timj@imendio.com>
|
||||
|
||||
* gtk/gtktreemodel.h:
|
||||
|
@ -6634,7 +6634,8 @@ gtk_text_view_value_changed (GtkAdjustment *adj,
|
||||
*/
|
||||
if (text_view->width_changed)
|
||||
{
|
||||
gdk_window_invalidate_rect (text_view->text_window->bin_window, NULL, FALSE);
|
||||
if (GTK_WIDGET_REALIZED (text_view))
|
||||
gdk_window_invalidate_rect (text_view->text_window->bin_window, NULL, FALSE);
|
||||
|
||||
text_view->width_changed = FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user