diff options
author | Johan Dahlin <jdahlin@async.com.br> | 2005-06-21 16:12:05 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2005-06-21 16:12:05 +0000 |
commit | 9efdc381329d8e656fe0b3a49f76af9647b18bbb (patch) | |
tree | b4866e7c55880a02f4fd62678d135cbc4ac396fd /gobject/pygflags.c | |
parent | 805b507053ce9223c589368325aa54037135c418 (diff) | |
download | pygobject-9efdc381329d8e656fe0b3a49f76af9647b18bbb.tar.gz pygobject-9efdc381329d8e656fe0b3a49f76af9647b18bbb.tar.xz pygobject-9efdc381329d8e656fe0b3a49f76af9647b18bbb.zip |
Try to register unknown enums and flags on the fly. Fixes #308536, patch
2005-06-21 Johan Dahlin <jdahlin@async.com.br>
* gobject/pygparamspec.c: (pygenum_from_pspec),
(pygflags_from_pspec): Try to register unknown enums and flags on the fly.
Fixes #308536, patch by Edward Hervey
* gobject/pygflags.c: (pyg_flags_add): Make module optional.
Diffstat (limited to 'gobject/pygflags.c')
-rw-r--r-- | gobject/pygflags.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gobject/pygflags.c b/gobject/pygflags.c index 2f12324..51dd59a 100644 --- a/gobject/pygflags.c +++ b/gobject/pygflags.c @@ -194,7 +194,6 @@ pyg_flags_add (PyObject * module, GFlagsClass *eclass; int i; - g_return_val_if_fail(module != NULL, NULL); g_return_val_if_fail(typename != NULL, NULL); g_return_val_if_fail(g_type_is_a(gtype, G_TYPE_FLAGS), NULL); |