projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ce193
)
Fix warning in clutter-backend-sdl
author
Neil Roberts
<neil@linux.intel.com>
Mon, 9 Mar 2009 10:59:52 +0000
(10:59 +0000)
committer
Neil 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
patch
|
blob
|
history
diff --git
a/clutter/sdl/clutter-backend-sdl.c
b/clutter/sdl/clutter-backend-sdl.c
index
39d1652
..
70a1bc9
100644
(file)
--- 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;
}