GNOME Bugzilla – Bug 766523
uri-clip: make uri parameter of ges_uri_clip_new () const
Last modified: 2016-05-16 18:50:21 UTC
ges_uri_clip_new function currently takes a non const string but it only give it to another function taking a const string parameter So I propose to make it constant to avoid compiler warning when having const string.
Created attachment 327989 [details] [review] uri-clip: make uri parameter of ges_uri_clip_new () const
Review of attachment 327989 [details] [review]: Hrm, that is a API change, I guess it is OK but I would like someone else to confirm
Don't think it's a problem. You're not changing the semantics really, just clarifying it. And it's fine to pass a gchar * as a const gchar * argument.
Attachment 327989 [details] pushed as dc16ee6 - uri-clip: make uri parameter of ges_uri_clip_new () const