After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652129 - Use "const" instead G_CONST_RETURN
Use "const" instead G_CONST_RETURN
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2011-06-08 17:48 UTC by Javier Jardón (IRC: jjardon)
Modified: 2011-06-14 14:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
docs: use const (2.26 KB, patch)
2011-06-08 17:49 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review
cogl: Do not use G_CONST_RETURN (2.38 KB, patch)
2011-06-08 17:49 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review
cally: Do not use G_CONST_RETURN (10.29 KB, patch)
2011-06-08 17:50 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review
clutter: Do not use G_CONST_RETURN (33.24 KB, patch)
2011-06-08 17:51 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2011-06-08 17:48:20 UTC
G_CONST_RETURN will be deprecated soon. See bug #644611
Comment 1 Javier Jardón (IRC: jjardon) 2011-06-08 17:49:12 UTC
Created attachment 189488 [details] [review]
docs: use const
Comment 2 Javier Jardón (IRC: jjardon) 2011-06-08 17:49:45 UTC
Created attachment 189489 [details] [review]
cogl: Do not use G_CONST_RETURN
Comment 3 Javier Jardón (IRC: jjardon) 2011-06-08 17:50:21 UTC
Created attachment 189490 [details] [review]
cally: Do not use G_CONST_RETURN
Comment 4 Javier Jardón (IRC: jjardon) 2011-06-08 17:51:01 UTC
Created attachment 189491 [details] [review]
clutter: Do not use G_CONST_RETURN
Comment 5 Emmanuele Bassi (:ebassi) 2011-06-08 21:35:35 UTC
ouch, you're just 24 hours late — I'm terribly sorry you did all this work :-)

it's been fixed for master in commit 2b81d90dd7399c409cf23d7324ff909351dbefa3:

commit 2b81d90dd7399c409cf23d7324ff909351dbefa3
Author: Emmanuele Bassi <ebassi@linux.intel.com>
Date:   Tue Jun 7 15:49:20 2011 +0100

    Eliminate G_CONST_RETURN

I'm not planning to backport this to clutter-1.6, though; master will be released for Gnome 3.2 anyway.
Comment 6 Emmanuele Bassi (:ebassi) 2011-06-14 14:31:05 UTC
in the end, I used these patches on the 1.6 branch, as the Gnome JHBuild moduleset hasn't been switched to master yet.