diff options
| author | Colomban Wendling <ban@herbesfolles.org> | 2014-06-23 17:57:07 +0200 |
|---|---|---|
| committer | Colomban Wendling <ban@herbesfolles.org> | 2014-06-23 17:57:07 +0200 |
| commit | dd7b3437a932eca46d401f932cc7ca25e210dcf5 (patch) | |
| tree | d05f28f4822763549b3c38368a5eac7b7937ed69 /src/ViewStyle.cxx | |
| parent | 99fe65d3efef3442a0766e2b21fd3726a1169c50 (diff) | |
| download | scintilla-mirror-dd7b3437a932eca46d401f932cc7ca25e210dcf5.tar.gz | |
GTK: Don't create unnecessary drawing contexts
When surfaces are created without an explicit target surface they are
only used for measurement purposes, so don't create a unnecessary
drawing context out of the widget's surface.
This avoid calling gdk_cairo_create() outside a draw handler, which
GTK 3.14 stops allowing [1].
[1] https://mail.gnome.org/archives/gtk-devel-list/2014-June/msg00010.html
Diffstat (limited to 'src/ViewStyle.cxx')
0 files changed, 0 insertions, 0 deletions
