aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ContractionState.h
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2014-06-23 17:57:07 +0200
committerColomban Wendling <ban@herbesfolles.org>2014-06-23 17:57:07 +0200
commitdd7b3437a932eca46d401f932cc7ca25e210dcf5 (patch)
treed05f28f4822763549b3c38368a5eac7b7937ed69 /src/ContractionState.h
parent99fe65d3efef3442a0766e2b21fd3726a1169c50 (diff)
downloadscintilla-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/ContractionState.h')
0 files changed, 0 insertions, 0 deletions