[Bug 54277] Change scaling behaviour in spice-gtk

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 3 00:31:23 PDT 2012


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

--- Comment #15 from Christophe Fergeau <teuf at gnome.org> 2012-09-03 07:31:23 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); }

This could also use G_STMT_{START,END}

-- 
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