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 | e0a9d1ac682f72f02c1cf5836103981ab4fefe06 (patch) | |
tree | 8e48675b54c4041b9cb5ab0f7d89f5b05461988e /src/ScintillaBase.cxx | |
parent | a5df3fcc3ec06c575610317508f726fe16ba5831 (diff) | |
download | scintilla-mirror-e0a9d1ac682f72f02c1cf5836103981ab4fefe06.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/ScintillaBase.cxx')
0 files changed, 0 insertions, 0 deletions