mirror of https://github.com/tstellar/bygfoot.git
Improved the error message when problems occur at load_ui
This commit is contained in:
parent
ed0693e856
commit
cd109bc6ef
|
@ -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…
Reference in New Issue