Avoid gchar/gint types
These are used throughout the codebase but are apparently on the way out. We should replace them with char/int and use g* types only for unsigned integers or gboolean.
This was described in comments on !597 (merged):
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information