GNOME Bugzilla – Bug 603735
Allow null/undefined to be passed in to callbacks
Last modified: 2009-12-04 11:30:44 UTC
Some functions do not require a callback to be passed in, instead NULL is accepted, the same should be supported in gjs by allowing null/undefined.
Created attachment 149042 [details] [review] Allow null/undefined to be passed in to callbacks
Created attachment 149045 [details] [review] Allow null/undefined to be passed in to callbacks Some functions do not require a callback to be passed in, instead NULL is accepted, the same should be supported in gjs by allowing null/undefined.
Review of attachment 149045 [details] [review]: Looks good.
The following fix has been pushed: e2fe272 Allow null/undefined to be passed in to callbacks
Created attachment 149079 [details] [review] Allow null/undefined to be passed in to callbacks Some functions do not require a callback to be passed in, instead NULL is accepted, the same should be supported in gjs by allowing null/undefined.