mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-03-05 11:37:50 +01:00
Improved the error message when problems occur at load_ui
This commit is contained in:
parent
8de749877a
commit
88b85b32ff
@ -56,7 +56,7 @@ load_ui (const gchar *filename)
|
|||||||
if (!gtk_builder_add_from_file (builder, filename, &error))
|
if (!gtk_builder_add_from_file (builder, filename, &error))
|
||||||
{
|
{
|
||||||
main_exit_program(EXIT_FILE_NOT_FOUND,
|
main_exit_program(EXIT_FILE_NOT_FOUND,
|
||||||
": File not found %s\n", filename);
|
": Problems found in the glade file: %s\n", error->message);
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_builder_connect_signals (builder, NULL);
|
gtk_builder_connect_signals (builder, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user