@@ -45,7 +45,7 @@ AlbumArtProvider::AlbumArtProvider()
45 auto schemas = g_settings_list_schemas();
45 auto schemas = g_settings_list_schemas();
46 if (schemas) {
46 if (schemas) {
47 for (int i = 0; schemas[i]; i++) {
47 for (int i = 0; schemas[i]; i++) {
48− if (strcmp(schemas[i], UNITY_LENS_SCHEMA.c_str()) == 0) {
48+ 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("com.canonical.Unity.Lenses");
@@ -160,7 +160,7 @@ std::string AlbumArtProvider::get_image(const std::string &artist, const std::st
160 return cache.get_art_file(info.artist, info.album);
160 return cache.get_art_file(info.artist, info.album);
163− if (m_settings != nullptr && strcmp(g_settings_get_string(m_settings, "remote-content-search"), "all") !=0) {
163+ if (m_settings != nullptr && g_strcmp0(g_settings_get_string(m_settings, "remote-content-search"), "all") !=0) {
164 qDebug() << "Remote content disabled";
164 qDebug() << "Remote content disabled";
165 return DEFAULT_ALBUM_ART;
165 return DEFAULT_ALBUM_ART;