[Bug 54277] Change scaling behaviour in spice-gtk

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 2 10:42:49 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=54277

--- Comment #14 from Alexander Larsson <alexl at redhat.com> 2012-09-02 17:42:49 UTC ---
Comment on attachment 66410
  --> https://bugs.freedesktop.org/attachment.cgi?id=66410
Fix build with gtk2

Review of attachment 66410:
 --> (https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=54277&attachment=66410)
-----------------------------------------------------------------

::: gtk/spice-widget-cairo.c
@@ +76,5 @@
> +#if !GTK_CHECK_VERSION (3, 0, 0)
> +#define cairo_rectangle_int_t GdkRectangle
> +#define cairo_region_t GdkRegion
> +#define cairo_region_create_rectangle gdk_region_rectangle
> +#define cairo_region_subtract_rectangle(_dest,_rect) { GdkRegion *_region = gdk_region_rectangle (_rect); gdk_region_subtract (_dest, _region); }

Ugh, this leaks _region.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the spice-bugs mailing list