Do not fail in g_settings_backend_keys_changed() if path is ""

This commit is contained in:
Vincent Untz
2010-04-14 20:59:26 -04:00
parent 7889b6125b
commit d6d1b2db9f

View File

@@ -251,7 +251,7 @@ g_settings_backend_keys_changed (GSettingsBackend *backend,
GSettingsBackendWatch *watch;
g_return_if_fail (G_IS_SETTINGS_BACKEND (backend));
g_return_if_fail (is_path (path));
g_return_if_fail (path[0] == '\0' || is_path (path));
g_return_if_fail (items != NULL);
for (watch = backend->priv->watches; watch; watch = watch->next)