Fix warning in clutter-backend-sdl
authorNeil Roberts <neil@linux.intel.com>
Mon, 9 Mar 2009 10:59:52 +0000 (10:59 +0000)
committerNeil Roberts <neil@linux.intel.com>
Mon, 9 Mar 2009 12:34:18 +0000 (12:34 +0000)
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

index 39d1652..70a1bc9 100644 (file)
@@ -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;
     }