Replying to "Use of undeclared identifier 'g_resource'"