summaryrefslogtreecommitdiff
path: root/giscanner/dumper.py
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-01-11 14:26:29 +0100
committerBenjamin Otte <otte@redhat.com>2011-01-11 15:11:05 +0100
commit5d999862113fbc655429a0dd9bd7583ba3848434 (patch)
treecc958c58a20d79efb829e7f60ea6143a805db0c5 /giscanner/dumper.py
parent3f8629d719a43332d9ac31d706920d0bec8746f4 (diff)
downloadgobject-introspection-5d999862113fbc655429a0dd9bd7583ba3848434.tar.gz
scanner: Rename g_irepository_dump when included from the dumper
This avoids a naming conflict when compiling GiRepository.gir, where g_irepository_dump() was defined in an included header.
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r--giscanner/dumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 36a88076..fcc00026 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -58,7 +58,7 @@ main(int argc, char **argv)
exit (1);
}
- if (!g_irepository_dump (argv[1] + strlen(introspect_dump_prefix), &error))
+ if (!dump_irepository (argv[1] + strlen(introspect_dump_prefix), &error))
{
g_printerr ("%%s\\n", error->message);
exit (1);