GNOME Bugzilla – Bug 692988
ev-view: call gtk_style_context_set_background()
Last modified: 2013-02-02 13:58:17 UTC
See commit message for the rationale; this makes a huge difference in gnome-documents.
Created attachment 234954 [details] [review] ev-view: call gtk_style_context_set_background() Even if we now render a background in _draw() with gtk_render_background, using gtk_style_context_set_background() in realize makes the backing GdkWindow not being completely transparent, which enables GTK to apply optimizations during the paint cycle. The result is, especially in clutter-gtk applications such as Documents, scrolling in a document page is much smoother.
Can this be related to https://bugzilla.gnome.org/show_bug.cgi?id=691448 ?
This shouldn't affect the thumbnails view, no.
Comment on attachment 234954 [details] [review] ev-view: call gtk_style_context_set_background() Pushed, thank you very much