mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
girepository/ginfo.c tools/generate.c
2008-02-21 Mark Doffman <mark.doffman@codethink.co.uk> * girepository/ginfo.c * tools/generate.c Change the way that external references with no namespace are dealt with. External references with no namespace are placed into the XML as-if they are a local reference. This is temporary, but helps with roundtrip tests. WARNING: This commit does not compile. It is a partial change. svn path=/trunk/; revision=134
This commit is contained in:
parent
e56744c907
commit
eb13d2e55b
@ -39,7 +39,8 @@ write_type_name (const gchar *namespace,
|
||||
GIBaseInfo *info,
|
||||
FILE *file)
|
||||
{
|
||||
if (strcmp (namespace, g_base_info_get_namespace (info)) != 0)
|
||||
if (g_base_info_get_namespace (info) != 0 &&
|
||||
strcmp (namespace, g_base_info_get_namespace (info)) != 0)
|
||||
g_fprintf (file, "%s.", g_base_info_get_namespace (info));
|
||||
|
||||
g_fprintf (file, "%s", g_base_info_get_name (info));
|
||||
|
Loading…
Reference in New Issue
Block a user