Skip to content

Commit

Permalink
Fixing plugin load on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryWerneck committed Dec 12, 2023
1 parent 35639cb commit d480417
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/main/windows/tools.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
return path;
}

g_free(path);
g_message("Cant find path for '%s'",path);
g_free(path);

return NULL;

}
Expand Down
6 changes: 3 additions & 3 deletions src/objects/settings/gsettings.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit d480417

Please sign in to comment.