Code review comment for lp:~3v1n0/unity/zeitgeist-quicklists

Revision history for this message
Marco Trevisan (TreviƱo) (3v1n0) wrote :

> 112 + explicit String(const gchar* str);
>
> Woooo, no, no, no, the glib::String class is meant to own the string, this way
> it can easily break if the real owner goes out of scope, we definitely don't
> want that kind of breakage.

It didn't look so bad to me as I don't think it would introduce any breakage that using a simple const gchar* wouldn't, but if that's your thinking, I go back to the Tim's advice, even if it's out of scope there, imho.

« Back to merge proposal