diff options
author | Colin Walters <walters@src.gnome.org> | 2008-08-29 18:19:26 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-08-29 18:19:26 +0000 |
commit | 685211273fc2bb96042c7d8a9ca82be741825d10 (patch) | |
tree | 9ac6f6f966cf6b9688039b4943cb6fdf41b37765 /tools/generate.c | |
parent | 5d2b8df3b26b75fca21b7077f7683259620773f5 (diff) | |
download | gobject-introspection-685211273fc2bb96042c7d8a9ca82be741825d10.tar.gz |
Correctly handle GLib.List, GLib.Error etc
* girepository/girparser.c: Accept both List (for
compiling GLib) and GLib.List (what the scanner
generates).
* tests/ - Update.
* tools/generate.c: Generate canonical form.
svn path=/trunk/; revision=522
Diffstat (limited to 'tools/generate.c')
-rw-r--r-- | tools/generate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/generate.c b/tools/generate.c index 02152df3..40c497b2 100644 --- a/tools/generate.c +++ b/tools/generate.c @@ -107,7 +107,7 @@ write_type_info (const gchar *namespace, else if (tag == 22) { type = g_type_info_get_param_type (info, 0); - g_fprintf (file, "GList"); + g_fprintf (file, "GLib.List"); if (type) { g_fprintf (file, "<"); @@ -119,7 +119,7 @@ write_type_info (const gchar *namespace, else if (tag == 23) { type = g_type_info_get_param_type (info, 0); - g_fprintf (file, "GSList"); + g_fprintf (file, "GLib.SList"); if (type) { g_fprintf (file, "<"); @@ -131,7 +131,7 @@ write_type_info (const gchar *namespace, else if (tag == 24) { type = g_type_info_get_param_type (info, 0); - g_fprintf (file, "GHashTable"); + g_fprintf (file, "GLib.HashTable"); if (type) { g_fprintf (file, "<"); @@ -148,7 +148,7 @@ write_type_info (const gchar *namespace, { gint n; - g_fprintf (file, "GError"); + g_fprintf (file, "GLib.Error"); n = g_type_info_get_n_error_domains (info); if (n > 0) { |