GNOME Bugzilla – Bug 621931
support GType and GVariant types
Last modified: 2010-06-19 09:52:42 UTC
.
Created attachment 163962 [details] [review] Support GType and GVariant fundamental types Bug #621931.
Looks great to me.
(Actually GType isn't fundamental, but the GParamSpecGType still needs to be handled.)
Comment on attachment 163962 [details] [review] Support GType and GVariant fundamental types this causes the tests to fail: tester-scan.c: In function ‘get_type_name’: tester-scan.c:366: error: case label does not reduce to an integer constant tester-scan.c: In function ‘describe_type’: tester-scan.c:1173: error: too few arguments to function ‘get_type_name’ Seems that G_TYPE_GTYPE is not a fundamental type that can be checked in a case: statement.
Created attachment 164021 [details] [review] Support GType and GVariant types "make check" now passes. Bug #621931.
Thanks! commit ab8cde85947c60b8d58cc9514703ceb1194a861f Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 17 22:54:36 2010 +0200 scan: Support GType and GVariant types. Fixes #621931. Conditionaly handle new fundamental GTypes.