Add debug output when failing to find glade ui file

This commit is contained in:
Lucian Poston 2020-04-23 05:19:50 -05:00
parent 7fdf800b58
commit bf5065859b
No known key found for this signature in database
GPG Key ID: 3C1A5AD9A4F5AC18
1 changed files with 2 additions and 0 deletions

View File

@ -322,6 +322,8 @@ gchar * get_ui_file (const char *filename)
if (g_file_test (path, G_FILE_TEST_IS_REGULAR)) return path;
g_free (path);
printf ("Failed to find ui file, \"%s\", in %s or %s\n",
filename ? filename : "", GLADEUI_UNINSTALLED_DIR, DATADIR);
/* not found */
return NULL;
}