Add a note that cairo contexts cannot be cached for handling expose

* gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
        contexts cannot be cached for handling expose events.
        Proposed by Behdad Esfahbod.


svn path=/trunk/; revision=20800
This commit is contained in:
Matthias Clasen 2008-07-07 00:28:37 +00:00
parent cad36b3c42
commit e326046d5a
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2008-07-06 Matthias Clasen <mclasen@redhat.com>
Bug 469068 clarify gdk_cairo_create()
* gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
contexts cannot be cached for handling expose events.
Proposed by Behdad Esfahbod.
2008-07-06 Matthias Clasen <mclasen@redhat.com>
Bug 507953 gtk_tree_view_set_tooltip_column() shows markups

View File

@ -29,6 +29,12 @@
*
* Creates a Cairo context for drawing to @drawable.
*
* <note><para>
* Note that due to double-buffering, Cairo contexts created
* in a GTK+ expose event handler cannot be cached and reused
* between different expose events.
* </para></note>
*
* Return value: A newly created Cairo context. Free with
* cairo_destroy() when you are done drawing.
*