You shouldn't need to cast here - these fields are defined as `const gchar *` but they probably shouldn't be. See below.