Pass NULL instead of &error to g_convert(). We're not interested in the error object.
Attach a file by drag & drop or click to upload