GNOME Bugzilla – Bug 581141
Clean up underscores in function and variable names
Last modified: 2009-05-04 17:53:16 UTC
Try to fix all places where we accidentally used foo_bar instead of fooBar for function names, function parameters, and variables. (Lucas Rocha pointed out one example.)
Created attachment 133832 [details] [review] Clean up underscores in function and variable names
Meh. It would be a lot nicer if gjs translated the gir APIs to use camelcase too. I feel silly typing "this.scaleX = that.scale_x;" This will probably break again when we're not looking. pre-commit hook? :)
At least as I read the code in gjs, you can actually use camel-case for properties and write this.scaleX = that.scaleX; But then you have inconsistencies with methods...
Applied, without worrying about possibly changing how we do properties; we can do that at some other point if we decide we want to do it.