diff options
Diffstat (limited to 'girepository/girepository.c')
-rw-r--r-- | girepository/girepository.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/girepository/girepository.c b/girepository/girepository.c index c2b119cd..4da5ffc5 100644 --- a/girepository/girepository.c +++ b/girepository/girepository.c @@ -114,6 +114,11 @@ g_irepository_register (GIRepository *repository, if (metadata->module == NULL) metadata->module = g_module_open (NULL, 0); + if (g_getenv ("G_IREPOSITORY_VERBOSE")) + { + g_printerr ("Loaded typelib %s\n", name); + } + return name; } @@ -443,7 +448,7 @@ g_irepository_register_file (GIRepository *repository, full_path = g_build_filename (dir, fname, NULL); mfile = g_mapped_file_new (full_path, FALSE, &error1); if (error1) { - g_debug ("Failed to mmap \"%s\"", full_path); + g_debug ("Failed to mmap \"%s\": %s", full_path, error1->message); g_clear_error (&error1); g_free (full_path); continue; |