Follow-up Comment #35, patch #2715 (project freeciv):
OK, I've made some progress.
After a trivial (a NULL check) change in themes.c, freeciv is not only able
to build with gtk3, but it starts with it and even seems to display overview
window correctly.
No more than that, however, as as it gets SIGABRT shortly after, can't even
display map window.
Now, I've made the change I was talking about - .drawable is now a cairo
context.
There's a little catch however - in science_diagram_update, if I put the
comment on 'gdk_cairo_region(cr, ev->region);' line whole window gets redrawn,
but it looks correctly; if there's no comment (so the context is properly
clipped), only the boxes are redrawn - the whole background is black. I need
to think about it - for the moment, putting the comment there will do.
(file #14384)
_______________________________________________________
Additional Item Attachment:
File name: cairo-drawing-svn3.patch Size:111 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2715>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev