diff options
author | raveit65 <[email protected]> | 2016-07-03 11:57:20 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-07-03 11:57:20 +0200 |
commit | 1a32d3949a77658c048e07842d7a0361d5e0b4a8 (patch) | |
tree | 620404536b6aaddd7e9a1c4053ed936f4e52c358 /help/Makefile.am | |
parent | e77cdcee8a93fffba34fa752e977ee3f2b6dac3e (diff) | |
download | atril-1a32d3949a77658c048e07842d7a0361d5e0b4a8.tar.bz2 atril-1a32d3949a77658c048e07842d7a0361d5e0b4a8.tar.xz |
Gtk+-3 ev-view: Set a style class on the view so it can be more easily styled
And share the style we use for other content views.
https://bugzilla.gnome.org/show_bug.cgi?id=653294
taken from:
https://git.gnome.org/browse/evince/commit/?id=a56186e
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.
taken from:
https://git.gnome.org/browse/evince/commit/?id=1785924
Diffstat (limited to 'help/Makefile.am')
0 files changed, 0 insertions, 0 deletions