Fix warning in clutter-backend-sdl

Removed direct use of SDL_GetError as a format string for g_set_error
to fix a compiler warning.
This commit is contained in:
Neil Roberts 2009-03-09 10:59:52 +00:00
parent 24ce193836
commit 67523ddc6e

View File

@ -47,7 +47,7 @@ clutter_backend_sdl_post_parse (ClutterBackend *backend,
{ {
g_set_error (error, CLUTTER_INIT_ERROR, g_set_error (error, CLUTTER_INIT_ERROR,
CLUTTER_INIT_ERROR_BACKEND, CLUTTER_INIT_ERROR_BACKEND,
SDL_GetError ()); "%s", SDL_GetError ());
return FALSE; return FALSE;
} }