Age | Commit message (Collapse) | Author | Files | Lines |
|
This avoids creating and destroying windows quickly under stress, which
may lead to XID collisions.
See e.g. https://bugzilla.gnome.org/show_bug.cgi?id=581526 and
https://bugzilla.gnome.org/show_bug.cgi?id=590690
Closes [bugs:1649].
|
|
|
|
|
|
|
|
|
|
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
|
|
surface to be finished.
|
|
|
|
|
|
guaranty termination where possible.
|
|
|
|
Parameter names added to method declarations.
|
|
|
|
|
|
|
|
|
|
|
|
Linux -> OS X works.
From Mitchell Foral.
|
|
|
|
|
|
|
|
|
|
This fixes drawing on a surface that has different settings (like
scaling) than the display surface, by performing the measurements on a
layout properly set up for the target surface.
In practice, this fixes e.g. printing on a scaled surface.
---
gtk/PlatGTK.cxx | 4 ++++
1 file changed, 4 insertions(+)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the same as on GTK+ 3.x.
This simplifies compatibility and allows implementing printing on GTK+ 2.x.
|
|
From Mitchell Foral.
|
|
old versions of Pango and Cairo.
|
|
|
|
|
|
available since 2.8.
Removed #ifs for versions earlier than 2.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
crashes.
|