diff --git a/pw3270.cbp b/pw3270.cbp
index c0abdc8..026476a 100644
--- a/pw3270.cbp
+++ b/pw3270.cbp
@@ -145,7 +145,6 @@
-
diff --git a/src/objects/settings/gsettings.c b/src/objects/settings/gsettings.c
index 536714b..6ea5f1b 100644
--- a/src/objects/settings/gsettings.c
+++ b/src/objects/settings/gsettings.c
@@ -27,8 +27,6 @@
#include
#include
- #include
- #include
#include
#include
@@ -47,7 +45,9 @@
&error
);
- if(v3270_popup_gerror(NULL, &error, "Configuration error", _("Can't load '%s' from current path"), "gschemas.compiled")) {
+ if(error) {
+ g_warning("Error loading '%s': %s","gschemas.compiled",error->message);
+ g_error_free(error);
return NULL;
}
@@ -80,7 +80,9 @@
&error
);
- if(v3270_popup_gerror(NULL, &error, "Configuration error", _("Can't load '%s'"), filename)) {
+ if(error) {
+ g_warning("Error loading '%s': %s",filename,error->message);
+ g_error_free(error);
return NULL;
}
@@ -111,6 +113,10 @@
#endif // DEBUG
+ if(!settings) {
+ g_warning("Error creating settings");
+ }
+
return settings;
}
--
libgit2 0.21.2