]> git.draconx.ca Git - gob-dx.git/commit
Clean up get_type implementations a bit.
authorNick Bowler <nbowler@draconx.ca>
Sat, 8 Feb 2020 17:06:09 +0000 (12:06 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 9 Feb 2020 00:37:07 +0000 (19:37 -0500)
commit9b591a326d98245379213aecaf39d1f44f4ff5a7
treeb02e908aed5488e2b9a8f7faa2d0dd5d9561e257
parent910b7231905b6c38b525bcdf3440bed23c574bdd
Clean up get_type implementations a bit.

To simplify future code using the G_DEFINE_TYPE_xxx macros, move all
the interface registration out of the get_type/register_type functions
and into a separate function.

And while we are doing this, factor out some common code between the
different add_xxx_get_type functions.

Should be no functional change.
src/main.c