GNOME Bugzilla – Bug 719567
js: Use SOURCE_CONTINUE/SOURCE_REMOVE constants in source functions
Last modified: 2013-12-16 17:30:17 UTC
Minor cleanup to improve readability. Depends on bug 719566.
Created attachment 263143 [details] [review] js: Use SOURCE_CONTINUE/SOURCE_REMOVE constants in source functions With support for boolean constants in g-i, we can finally use the more readable constants instead of true/false.
We should also probably do Clutter.EVENT_RETURN / Clutter.EVENT_CONTINUE while we're at it.
Created attachment 263157 [details] [review] js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers Just as SOURCE_CONTINUE/SOURCE_REMOVE in source functions, these constants increase code clarity over plain true/false.
Attachment 263143 [details] pushed as 751a3f0 - js: Use SOURCE_CONTINUE/SOURCE_REMOVE constants in source functions Attachment 263157 [details] pushed as deb2f30 - js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers