GNOME Bugzilla – Bug 620943
Add support for registering properties whose types are subtypes of GEnum and GFlags.
Last modified: 2012-04-05 08:56:53 UTC
This fixes the test_enum tests that are failing right now.
Created attachment 163035 [details] [review] Add support for registering properties whose types are subtypes of GEnum and GFlags.
Comment on attachment 163035 [details] [review] Add support for registering properties whose types are subtypes of GEnum and GFlags. is this committed yet? Free to commit but we don't have an issue with enums in the tests.
Tomeu: Was this committed or should this get in? (Trying to clean the accepted-commit_now queue a bit.)
(In reply to comment #3) > Tomeu: Was this committed or should this get in? > (Trying to clean the accepted-commit_now queue a bit.) Looks like this needs tests before it can come in (it used to be tested in pygtk before).
Created attachment 211313 [details] [review] Add support for GFlags properties GEnum properties are already supported and covered by the tests. GFlags properties indeed do not work. This patch provides support for those and adds tests. However, it's completely different from Tomeu's patch (as this was not sufficient, nor were some changes required), so I'd appreciate a peer review before I push this. Thanks in advance!
Review of attachment 211313 [details] [review]: Looks great
Pushed, thanks for the review!