summaryrefslogtreecommitdiff
path: root/girepository/girnode.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-02-11 17:18:28 -0500
committerColin Walters <walters@verbum.org>2010-02-11 17:18:28 -0500
commita9e6ae83ffa54194adc01e84c85ac336c59fd520 (patch)
tree959debe8779fd17e0177ef33bc157f91159fbbe3 /girepository/girnode.c
parentaaef4935d212ede7df24e67cd3afac19a322e775 (diff)
downloadgobject-introspection-a9e6ae83ffa54194adc01e84c85ac336c59fd520.tar.gz
[g-ir-compiler] Slightly less lame error messages
To make things really better we should track the line origin of element from the .gir file (and actually we need to do better checking in the scanner), but this is slightly less lame.
Diffstat (limited to 'girepository/girnode.c')
-rw-r--r--girepository/girnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/girnode.c b/girepository/girnode.c
index 9f623453..2523ee1f 100644
--- a/girepository/girnode.c
+++ b/girepository/girnode.c
@@ -1090,7 +1090,7 @@ find_entry_node (GIrModule *module,
goto out;
}
- g_warning ("Entry '%s' not found", name);
+ g_ir_module_fatal (module, 0, "Type reference '%s' not found", name);
out: