GNOME Bugzilla – Bug 652005
Use "const" instead G_CONST_RETURN
Last modified: 2011-06-10 12:14:38 UTC
Before deprecate the macro in Glib. See bug #644611
Created attachment 189346 [details] [review] gail: do not use G_CONST_RETURN
Created attachment 189347 [details] [review] gail/test: Do not use G_CONST_RETURN
Created attachment 189348 [details] [review] gdk: Do not use G_CONST_RETURN
Created attachment 189349 [details] [review] docs: Do not use G_CONST_RETURN
Created attachment 189350 [details] [review] gtk: Do not use G_CONST_RETURN
Review of attachment 189346 [details] [review]: G_CONST_RETURN certainly makes no sense whatsoever for static functions that are private to the implmentation. Go ahead.
Review of attachment 189347 [details] [review]: Go ahead.
Review of attachment 189348 [details] [review]: The changes to all the static functions are obviously ok. For the public API, we should just decide whether we drop this thing or now. -> topic for the next meeting.
Review of attachment 189349 [details] [review]: Also, pending on a decision to drop this from the api
Comment on attachment 189346 [details] [review] gail: do not use G_CONST_RETURN commit 5e2b5680a491da87cb8f22ca90df09248f3884e6
Comment on attachment 189347 [details] [review] gail/test: Do not use G_CONST_RETURN commit 15a914202d4fd3858e862dbc7a1e01a72bc7891c
I have been convinced to just go ahead with this.
Comment on attachment 189348 [details] [review] gdk: Do not use G_CONST_RETURN commit 7c688cb8a6cd35990a26d3a4a26d098e3a5fe5a1
Comment on attachment 189349 [details] [review] docs: Do not use G_CONST_RETURN commit a8f5a8b9190d4c72f46a38579f23f2f2acfb174a
Comment on attachment 189350 [details] [review] gtk: Do not use G_CONST_RETURN commit bf0d8402f5382fadd32a9748d00a4bcd715ea07a
Thanks Matthias