I've been spending a bit of time recently working on GNOME Settings. One part of this has been bringing some of the older panel code up to modern standards, one of which is making use of GtkBuilder templates.
This is just the user accounts panel, which shows some of the reduction in C code and increase in GtkBuilder data:
I don't think this draws any major conclusions, but is still interesting to see. Of note:
- Some of the changes make in 3.28 did reduce the total amount of code! But it was quickly gobbled up by the new Thunderbolt panel.
- Network and Printers are the dominant panels - look at all that code!
- I ignored empty lines in the files in case differing coding styles would make some panels look bigger or smaller. It didn't seem to make a significant difference.
- You can see a reduction in C code looking at individual panels that have been updated, but overall it gets lost in the total amount of code.
No comments:
Post a Comment