GNOME Bugzilla – Bug 607007
use of deprecated function cogl_clip_push()
Last modified: 2010-02-22 12:00:25 UTC
as of clutter version 1.2, the function cogl_clip_push() is deprecated. because of the default use of -Werror, this of course causes a compilation error. this 'bug' is present in the latest git version, and atm i don't know enough about the function and how it's used to write a patch. it looks like it should be a fairly simple fix though.
Pass this argument to ./configure --enable-compile-warnings so you can be able to compile it.
Created attachment 152757 [details] [review] Remove deprecated function This patch uses the new function from clutter 1.2. I didn't change the requirements to clutter 1.2 (cogl) because clutter 1.1.x doesn't have the API bump on .pc files.
patch works great, thanks!
Reopening, nothing was resolved (we don't yet support compiling with clutter 1.1.x)
Review of attachment 152757 [details] [review]: This patch needs to be part of a larger "Switch to clutter 1.2" patch, at a minimum patching the configure.ac and jhbuild moduleset.
I'm closing this as a duplicate because according to the documentation [1], the use of cogl_clip_push_rectangle in the patch to bug 610679 is the correct one. Of course, Colin's comment still applies. [1] http://clutter-project.org/docs/cogl/unstable/cogl-Clipping.html#cogl-clip-push-rectangle *** This bug has been marked as a duplicate of bug 610679 ***