[Bug 54277] Change scaling behaviour in spice-gtk

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 31 02:01:58 PDT 2012


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

--- Comment #9 from Marc-Andre Lureau <marcandre.lureau at gmail.com> 2012-08-31 09:01:58 UTC ---
sadly, it broke the build on mingw/gtk2

spice-widget-cairo.c: In function 'spicex_draw_event':
spice-widget-cairo.c:109:5: error: passing argument 2 of 'gdk_cairo_region'
from incompatible pointer type [-Werror]
In file included from
/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-2.0/gdk/gdk.h:33:0,
                 from
/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-2.0/gtk/gtk.h:32,
                 from spice-widget.h:23,
                 from spice-widget-cairo.c:18:
/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-2.0/gdk/gdkcairo.h:54:10:
note: expected 'const struct GdkRegion *' but argument is of type 'struct
cairo_region_t *'

But also with older version of cairo (on rhel6):

../../gtk/spice-widget-cairo.c: In function ‘spicex_draw_event’:
../../gtk/spice-widget-cairo.c:80: error: ‘cairo_rectangle_int_t’ undeclared
(first use in this function)
../../gtk/spice-widget-cairo.c:80: error: (Each undeclared identifier is
reported only once
../../gtk/spice-widget-cairo.c:80: error: for each function it appears in.)
../../gtk/spice-widget-cairo.c:80: error: expected ‘;’ before ‘rect’
../../gtk/spice-widget-cairo.c:81: error: ‘cairo_region_t’ undeclared (first
use in this function)
../../gtk/spice-widget-cairo.c:81: error: ‘region’ undeclared (first use in
this function)
../../gtk/spice-widget-cairo.c:92: error: ‘rect’ undeclared (first use in this
function)
../../gtk/spice-widget-cairo.c:96: warning: implicit declaration of function
‘cairo_region_create_rectangle’ [-Wimplicit-function-declaration]
../../gtk/spice-widget-cairo.c:96: warning: nested extern declaration of
‘cairo_region_create_rectangle’ [-Wnested-externs]
../../gtk/spice-widget-cairo.c:106: warning: implicit declaration of function
‘cairo_region_subtract_rectangle’ [-Wimplicit-function-declaration]
../../gtk/spice-widget-cairo.c:106: warning: nested extern declaration of
‘cairo_region_subtract_rectangle’ [-Wnested-externs]
../../gtk/spice-widget-cairo.c:110: warning: implicit declaration of function
‘cairo_region_destroy’ [-Wimplicit-function-declaration]
../../gtk/spice-widget-cairo.c:110: warning: nested extern declaration of
‘cairo_region_destroy’ [-Wnested-externs]

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