gobject-introspection r611 - trunk/girepository
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r611 - trunk/girepository
- Date: Tue, 16 Sep 2008 19:44:30 +0000 (UTC)
Author: walters
Date: Tue Sep 16 19:44:30 2008
New Revision: 611
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=611&view=rev
Log:
Don't add spurious * if type is pointer; the is_pointer flag is enough
Modified:
trunk/girepository/girnode.c
Modified: trunk/girepository/girnode.c
==============================================================================
--- trunk/girepository/girnode.c (original)
+++ trunk/girepository/girnode.c Tue Sep 16 19:44:30 2008
@@ -1086,8 +1086,7 @@
if (node->tag < GI_TYPE_TAG_ARRAY)
{
- g_string_append_printf (str, "%s%s",
- basic[node->tag], node->is_pointer ? "*" : "");
+ g_string_append_printf (str, "%s", basic[node->tag]);
}
else if (node->tag == GI_TYPE_TAG_ARRAY)
{
@@ -1117,7 +1116,7 @@
name = node->interface;
}
- g_string_append_printf (str, "%s%s", name, node->is_pointer ? "*" : "");
+ g_string_append_printf (str, "%s", name);
}
else if (node->tag == GI_TYPE_TAG_GLIST)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]