Use const.
commit15f0ee5c97db99287a6fa62885937bd10da3c254
authorPawel Stolowski <pawel.stolowski@canonical.com>
dateWed 9 Oct 2013, 18:37 (13 years ago)
parent0cd6960
plugins/Utils/albumartprovider.cpp+1−1
@@ -46,7 +46,7 @@ AlbumArtProvider::AlbumArtProvider()
4646 if (schemas) {
4747 for (int i = 0; schemas[i]; i++) {
4848 if (g_strcmp0(schemas[i], UNITY_LENS_SCHEMA.c_str()) == 0) {
49− m_settings = g_settings_new("com.canonical.Unity.Lenses");
49+ m_settings = g_settings_new(UNITY_LENS_SCHEMA);
5050 break;
5151 }
5252 }