From 67523ddc6e6714629cd3582b6bb4d9dc42740ba5 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 9 Mar 2009 10:59:52 +0000 Subject: [PATCH] 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. --- clutter/sdl/clutter-backend-sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/sdl/clutter-backend-sdl.c b/clutter/sdl/clutter-backend-sdl.c index 39d165257..70a1bc984 100644 --- a/clutter/sdl/clutter-backend-sdl.c +++ b/clutter/sdl/clutter-backend-sdl.c @@ -47,7 +47,7 @@ clutter_backend_sdl_post_parse (ClutterBackend *backend, { g_set_error (error, CLUTTER_INIT_ERROR, CLUTTER_INIT_ERROR_BACKEND, - SDL_GetError ()); + "%s", SDL_GetError ()); return FALSE; }