Protect the correct things with G_BEGIN_DECLS
Correctly use the new functions