removed g_error instruction as it seems to crash the program
This commit is contained in:
parent
090db6c228
commit
d066bdde58
@ -237,7 +237,7 @@ static void mdiary_add_file_to_store(gchar *filename, GtkListStore *entryListSto
|
|||||||
file = g_file_new_for_path(filename);
|
file = g_file_new_for_path(filename);
|
||||||
stream = g_file_read(file, NULL, &err);
|
stream = g_file_read(file, NULL, &err);
|
||||||
if (err != NULL) {
|
if (err != NULL) {
|
||||||
g_error("PARSER: Could not open %s for reading: %s\n", filename, err->message);
|
g_print("PARSER: %s\n", filename, err->message);
|
||||||
g_error_free(err);
|
g_error_free(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user