diff options
author | John Finlay <finlay@src.gnome.org> | 2007-08-22 08:37:42 +0000 |
---|---|---|
committer | John Finlay <finlay@src.gnome.org> | 2007-08-22 08:37:42 +0000 |
commit | abd1a618375eb7333952516c4c096b23e88fc146 (patch) | |
tree | 2d3468ea74c36d65f720367a70d55bbb55a15c41 | |
parent | 9766025817149cc379628284a0605aab54aa0c36 (diff) | |
download | pygtk-abd1a618375eb7333952516c4c096b23e88fc146.tar.gz |
Allow (void) and () to be matched for object defs.
svn path=/trunk/; revision=2887
-rw-r--r-- | codegen/defsgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/defsgen.py b/codegen/defsgen.py index 69c6d684..e1aa0767 100644 --- a/codegen/defsgen.py +++ b/codegen/defsgen.py @@ -197,7 +197,7 @@ class ObjDef(object): split_prefix_pat = re.compile('([A-Z]+[a-z]*)([A-Za-z0-9]+)') get_type_pat = re.compile(r'''^\s*(GType|GtkType)\s+ -([a-z]\w+_get_type)\s*\(void\).*$''', re.VERBOSE | re.MULTILINE) +([a-z]\w+_get_type)\s*(\(void\)|\(\)).*$''', re.VERBOSE | re.MULTILINE) defkeys = 'GBoxed GInterface GObject gpointer GEnum GFlags' |