diff --git a/src/main/windows/tools.c b/src/main/windows/tools.c index 09105cc..2b39f4e 100644 --- a/src/main/windows/tools.c +++ b/src/main/windows/tools.c @@ -35,8 +35,9 @@ return path; } - g_free(path); g_message("Cant find path for '%s'",path); + g_free(path); + return NULL; } diff --git a/src/objects/settings/gsettings.c b/src/objects/settings/gsettings.c index d503134..4e87417 100644 --- a/src/objects/settings/gsettings.c +++ b/src/objects/settings/gsettings.c @@ -100,13 +100,13 @@ schema_id, TRUE); - g_message("Loading '%s'",names[ix]); +// g_message("Loading '%s'",names[ix]); settings = g_settings_new_full(schema, NULL, NULL); g_settings_schema_source_unref(source); if(settings) { - g_message("Got gsettings from %s",names[ix]); +// g_message("Got gsettings from %s",names[ix]); return settings; } @@ -157,7 +157,7 @@ GSettings * pw3270_application_settings_new() { return settings_new(G_STRINGIFY(PRODUCT_ID)); - } + } GSettings * pw3270_application_window_settings_new() { return settings_new(G_STRINGIFY(PRODUCT_ID) ".window"); -- libgit2 0.21.2